X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpluginqueuehandler.php;h=c2d74f48404b152ca4fea338d2693e32908a0644;hb=97ce71e55d719af3ff53d70367c5e72312bcd136;hp=9653ccad42454f3896a34c26e5d49ae53e3adda9;hpb=58649055064361eb2d4cab1aa39cc4cf56a92dd8;p=quix0rs-gnu-social.git diff --git a/lib/pluginqueuehandler.php b/lib/pluginqueuehandler.php index 9653ccad42..c2d74f4840 100644 --- a/lib/pluginqueuehandler.php +++ b/lib/pluginqueuehandler.php @@ -44,7 +44,12 @@ class PluginQueueHandler extends QueueHandler function handle($notice) { - Event::handle('HandleQueuedNotice', array(&$notice)); + try { + Event::handle('HandleQueuedNotice', array(&$notice)); + } catch (UserNoProfileException $unp) { + // We can't do anything about this, so just skip + return true; + } return true; } }