diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-04-28 20:16:25 -0400 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-04-28 20:16:25 -0400 |
commit | ecd1dab373a1fccb1663023f6515ed148475079d (patch) | |
tree | 144978a5312ec9d81cd43fbf74a99fd4789922fb /include | |
parent | 9413900a9f9cb3c455ee4f0300224dec3a4a9f75 (diff) | |
parent | 8a112aee0012383c5328021a5b0637957439cbaa (diff) | |
download | volse-hubzilla-ecd1dab373a1fccb1663023f6515ed148475079d.tar.gz volse-hubzilla-ecd1dab373a1fccb1663023f6515ed148475079d.tar.bz2 volse-hubzilla-ecd1dab373a1fccb1663023f6515ed148475079d.zip |
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master:
a few more continues that should be returns
small bugfix. sometimes also avatar pics were rescaled
* master:
Diffstat (limited to 'include')
-rw-r--r-- | include/onepoll.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/onepoll.php b/include/onepoll.php index 722ebe846..51516d059 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -152,7 +152,7 @@ function onepoll_run($argv, $argc){ intval($contact['id']) ); - continue; + return; } if(! strstr($handshake_xml,'<?xml')) { @@ -161,7 +161,7 @@ function onepoll_run($argv, $argc){ dbesc(datetime_convert()), intval($contact['id']) ); - continue; + return; } @@ -188,7 +188,7 @@ function onepoll_run($argv, $argc){ } if((intval($res->status) != 0) || (! strlen($res->challenge)) || (! strlen($res->dfrn_id))) - continue; + return; if(((float) $res->dfrn_version > 2.21) && ($contact['poco'] == '')) { q("update contact set poco = '%s' where id = %d limit 1", @@ -221,7 +221,7 @@ function onepoll_run($argv, $argc){ if($final_dfrn_id != $orig_id) { logger('poller: ID did not decode: ' . $contact['id'] . ' orig: ' . $orig_id . ' final: ' . $final_dfrn_id); // did not decode properly - cannot trust this site - continue; + return; } $postvars['dfrn_id'] = $idtosend; @@ -251,7 +251,7 @@ function onepoll_run($argv, $argc){ // Are we allowed to import from this person? if($contact['rel'] == CONTACT_IS_FOLLOWER || $contact['blocked'] || $contact['readonly']) - continue; + return; $xml = fetch_url($contact['poll']); } @@ -261,7 +261,7 @@ function onepoll_run($argv, $argc){ $mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1); if($mail_disabled) - continue; + return; logger("onepoll: Mail: Enabled", LOGGER_DEBUG); @@ -458,7 +458,7 @@ function onepoll_run($argv, $argc){ dbesc(datetime_convert()), intval($contact['id']) ); - continue; + return; } |