From 28cd5640c1b632f7fb503f93dde7114308b0d626 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 8 Jan 2016 01:59:16 +0100 Subject: [PATCH] Save attentions to Reply table for backwards compatibility local users only of course --- classes/Notice.php | 5 +++++ 1 file changed, 5 insertions(+) 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) { -- 2.39.5