diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-04-24 14:29:56 -0700 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-04-24 14:29:56 -0700 |
commit | 54795f2c41d1c19a441550146793ac63aed2f673 (patch) | |
tree | ec283fe9227dac433050b7aceb1918abe1476ea4 /classes | |
parent | af89dcadee63f4de1546abc6cebd50948b4bc42c (diff) | |
parent | 6eb5a2566f5f29a4c129111e1cc86d85d641a3ad (diff) |
Merge branch 'twitter-import' into 0.8.x
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Foreign_link.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/classes/Foreign_link.php b/classes/Foreign_link.php index afc0e2180..5d9c82a85 100644 --- a/classes/Foreign_link.php +++ b/classes/Foreign_link.php @@ -57,13 +57,19 @@ class Foreign_link extends Memcached_DataObject return null; } - function set_flags($noticesync, $replysync, $friendsync) + function set_flags($noticesend, $noticerecv, $replysync, $friendsync) { - if ($noticesync) { + if ($noticesend) { $this->noticesync |= FOREIGN_NOTICE_SEND; } else { $this->noticesync &= ~FOREIGN_NOTICE_SEND; } + + if ($noticerecv) { + $this->noticesync |= FOREIGN_NOTICE_RECV; + } else { + $this->noticesync &= ~FOREIGN_NOTICE_RECV; + } if ($replysync) { $this->noticesync |= FOREIGN_NOTICE_SEND_REPLY; |