diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-29 15:14:51 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-29 15:14:51 -0700 |
commit | 2260d6ec7c1f2b9c63196a4d8c6c99750a89eb10 (patch) | |
tree | cac824e9986caf03fd43bd967663ab1ef4b8bede /classes/Notice.php | |
parent | 42348bc16711316918efef634d6d83bf19b0b1fe (diff) | |
parent | 50d5f5e04c9c37eb5ba20e1dbcd8ceb832d8be81 (diff) |
Merge branch 'testing' into 0.9.x
Conflicts:
index.php
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index 42c235b1a..c0828674d 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -1007,8 +1007,6 @@ class Notice extends Memcached_DataObject $reply->profile_id = $user->id; $id = $reply->insert(); - - self::blow('reply:stream:%d', $user->id); } } @@ -1074,6 +1072,7 @@ class Notice extends Memcached_DataObject throw new ServerException("Couldn't save reply for {$this->id}, {$mentioned->id}"); } else { $replied[$mentioned->id] = 1; + self::blow('reply:stream:%d', $mentioned->id); } } } @@ -1129,7 +1128,6 @@ class Notice extends Memcached_DataObject foreach ($recipientIds as $recipientId) { $user = User::staticGet('id', $recipientId); if (!empty($user)) { - self::blow('reply:stream:%d', $recipientId); mail_notify_attn($user, $this); } } |