forked from GNUsocial/gnu-social
Just let a UserNoProfileException pass.
This commit is contained in:
parent
0fec1872cd
commit
2879f0a499
@ -44,7 +44,12 @@ class PluginQueueHandler extends QueueHandler
|
|||||||
|
|
||||||
function handle($notice)
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user