projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0463d96
)
Save attentions to Reply table for backwards compatibility
author
Mikael Nordfeldth
<mmn@hethane.se>
Fri, 8 Jan 2016 00:59:16 +0000
(
01:59
+0100)
committer
Mikael Nordfeldth
<mmn@hethane.se>
Fri, 8 Jan 2016 00:59:16 +0000
(
01:59
+0100)
local users only of course
classes/Notice.php
patch
|
blob
|
history
diff --git
a/classes/Notice.php
b/classes/Notice.php
index 7a77d9859af3653d16f0e4f75e7f418e5c9720f3..6781918be4ae410e2b654466673ff0bbee31f859 100644
(file)
--- 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) {