]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Misplaced break/continue statements.
authorMikael Nordfeldth <mmn@hethane.se>
Wed, 4 May 2016 09:44:00 +0000 (11:44 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Wed, 4 May 2016 09:44:00 +0000 (11:44 +0200)
lib/accountmover.php
lib/useractivitystream.php

index 83314b49978d53ace8a732179db05a33b5f4242f..f8fb4512bd7c19d791e00266caad21fcbb79b15f 100644 (file)
@@ -114,7 +114,6 @@ class AccountMover extends QueueHandler
             $svcDocUrl = $link->href;
             if (isset($link['http://apinamespace.org/atom/username'])) {
                 $username = $link['http://apinamespace.org/atom/username'];
-                break;
             }
         }
 
index bb6048516403073752fe99b46090031612ec9243..cc0e4297e6626c2c5ed8c7d65bbdcbf4707dac20 100644 (file)
@@ -219,7 +219,6 @@ class UserActivityStream extends AtomUserNoticeFeed
                 }
             } catch (Exception $e) {
                 common_log(LOG_ERR, $e->getMessage());
-                continue;
             }
         }
     }