[Pkg-owncloud-commits] [php-sabredav] 04/11: Removed another broken goto. #687

David Prévot taffit at moszumanska.debian.org
Tue Aug 11 13:15:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch 2.1
in repository php-sabredav.

commit 95f54704323be381831384bbe57265f0a534f7a5
Author: Evert Pot <me at evertpot.com>
Date:   Tue Jul 14 14:07:17 2015 -0400

    Removed another broken goto. #687
---
 bin/migrateto21.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/migrateto21.php b/bin/migrateto21.php
index 701bcf2..9a5a315 100755
--- a/bin/migrateto21.php
+++ b/bin/migrateto21.php
@@ -122,7 +122,7 @@ if ($addUid) {
             $vobj = \Sabre\VObject\Reader::read($row['calendardata']);
         } catch (\Exception $e) {
             echo "Warning! Item with id $row[id] could not be parsed!\n";
-            goto yoyo;
+            continue;
         }
         $uid = null;
         $item = $vobj->getBaseComponent();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list