diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-29 13:06:32 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-29 13:06:32 -0700 |
commit | 15b108620e4a63184d001ed8ff3704225a795b8c (patch) | |
tree | 08eda824dbe8635220606f8ad44f925c15d5fd17 /plugins/TwitterBridge | |
parent | 178f3600ed8e9cf077bcd61b9495c5e84bd01bd0 (diff) |
Fix a couple 'continue's from old looping code in Twitter importer (-> return null)
Diffstat (limited to 'plugins/TwitterBridge')
-rw-r--r-- | plugins/TwitterBridge/twitterimport.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TwitterBridge/twitterimport.php b/plugins/TwitterBridge/twitterimport.php index 1b2d39530..07a9cf95f 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); |