diff --git a/lib/controller.php b/lib/controller.php index f0d349b..a8332d1 100644 --- a/lib/controller.php +++ b/lib/controller.php @@ -62,7 +62,7 @@ public function pull_posts() { $this->app->semaphore()->lock(); remove_action( 'save_post', array( $this, 'export_post' ) ); - remove_action( 'save_post', array( $this, 'delete_post' ) ); + remove_action( 'delete_post', array( $this, 'delete_post' ) ); $result = $this->app->import()->payload( $payload );