From 15b108620e4a63184d001ed8ff3704225a795b8c Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 29 Oct 2010 13:06:32 -0700 Subject: [PATCH] Fix a couple 'continue's from old looping code in Twitter importer (-> return null) --- plugins/TwitterBridge/twitterimport.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/TwitterBridge/twitterimport.php b/plugins/TwitterBridge/twitterimport.php index 1b2d395304..07a9cf95f6 100644 --- a/plugins/TwitterBridge/twitterimport.php +++ b/plugins/TwitterBridge/twitterimport.php @@ -57,13 +57,13 @@ class TwitterImport if (preg_match("/$source/", mb_strtolower($status->source))) { common_debug($this->name() . ' - Skipping import of status ' . $status->id . ' with source ' . $source); - continue; + return null; } // Don't save it if the user is protected // FIXME: save it but treat it as private if ($status->user->protected) { - continue; + return null; } $notice = $this->saveStatus($status); -- 2.39.5