From: darksider3 Date: Mon, 3 Mar 2014 16:04:11 +0000 (+0000) Subject: Delete @debugs from urlshortenerplugin2 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=aedb7f61c0441ed5efed2f21b9e8f0735741a703;p=quix0rs-gnu-social.git Delete @debugs from urlshortenerplugin2 --- diff --git a/lib/urlshortenerplugin2.php b/lib/urlshortenerplugin2.php index 18e0ba1f93..af46da612a 100644 --- a/lib/urlshortenerplugin2.php +++ b/lib/urlshortenerplugin2.php @@ -222,18 +222,4 @@ abstract class UrlShortenerPlugin2 return true; } } -//@debug -function A() { - $foo->bar(); // Purposely cause error -} - -function B($c) { - A(); -} - -try { - B('foobar'); -} catch (PluginErrorException $e) { - echo $e->printFull(); -} ?>