Commit 547f92de authored by mmn's avatar mmn

Don't fail deleteRelated on NoProfileException

parent 195285ac
......@@ -279,6 +279,10 @@ abstract class ActivityHandlerPlugin extends Plugin
if ($this->isMyNotice($notice)) {
try {
} catch (NoProfileException $e) {
// we failed because of database lookup failure, Notice has no recognized profile as creator
// so we skip this. If we want to remove missing notices we should do a SQL constraints check
// in the affected plugin.
} catch (AlreadyFulfilledException $e) {
// Nothing to see here, it's obviously already gone...
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment