Save attentions to Reply table for backwards compatibility

local users only of course
This commit is contained in:
Mikael Nordfeldth 2016-01-08 01:59:16 +01:00
parent 0463d96392
commit 28cd5640c1
1 changed files with 5 additions and 0 deletions

View File

@ -1596,6 +1596,11 @@ class Notice extends Managed_DataObject
}
}
if ($target->isLocal()) {
// is local user
$this->saveReply($target->getID()); // since we still have the Reply table which some apparently use!
}
try {
$att = Attention::saveNew($this, $target, $reason);
} catch (AlreadyFulfilledException $e) {