summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-04-23 14:26:57 -0700
committerBrion Vibber <brion@pobox.com>2010-04-23 14:26:57 -0700
commitdd7b95c2cffe7e33f32d841ed8950e09b44b853d (patch)
treec03b3030ebdc271a3ba8806708a1866b22e7573d /classes/Notice.php
parent61098faf5dd2685ea00c110bb4a3c871da17a300 (diff)
parent9c8052e755e5ad4c8120ace9acdd75ee910e2ab7 (diff)
Merge branch 'master' into testing
Diffstat (limited to 'classes/Notice.php')
-rw-r--r--classes/Notice.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 5c75ec520..0b1b2e402 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1006,8 +1006,6 @@ class Notice extends Memcached_DataObject
$reply->profile_id = $user->id;
$id = $reply->insert();
-
- self::blow('reply:stream:%d', $user->id);
}
}
@@ -1073,6 +1071,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);
}
}
}
@@ -1128,7 +1127,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);
}
}