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=2f400d70b6f32a33968b954faebb40bb130ab55e;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(); -} ?>