X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpluginqueuehandler.php;h=dcd07d7208800bbf1fe2e907bc3ce0e5e85e4a8a;hb=33e2f5b449d477e55bda7029f9e826d889e41eb5;hp=c2d74f48404b152ca4fea338d2693e32908a0644;hpb=2879f0a499297b64ac56d78fcb67650cbedce54f;p=quix0rs-gnu-social.git diff --git a/lib/pluginqueuehandler.php b/lib/pluginqueuehandler.php index c2d74f4840..dcd07d7208 100644 --- a/lib/pluginqueuehandler.php +++ b/lib/pluginqueuehandler.php @@ -17,9 +17,7 @@ * along with this program. If not, see . */ -if (!defined('STATUSNET') && !defined('LACONICA')) { - exit(1); -} +if (!defined('GNUSOCIAL')) { exit(1); } /** * Queue handler for letting plugins handle stuff. @@ -46,7 +44,7 @@ class PluginQueueHandler extends QueueHandler { try { Event::handle('HandleQueuedNotice', array(&$notice)); - } catch (UserNoProfileException $unp) { + } catch (NoProfileException $unp) { // We can't do anything about this, so just skip return true; }