From: Mikael Nordfeldth Date: Fri, 8 Jan 2016 00:59:16 +0000 (+0100) Subject: Save attentions to Reply table for backwards compatibility X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28cd5640c1b632f7fb503f93dde7114308b0d626;p=quix0rs-gnu-social.git Save attentions to Reply table for backwards compatibility local users only of course --- diff --git a/classes/Notice.php b/classes/Notice.php index 7a77d9859a..6781918be4 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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) {