diff options
author | Brion Vibber <brion@pobox.com> | 2010-04-09 11:36:51 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-04-09 12:02:11 -0700 |
commit | 6fb60fb57f9ab604e1d77dc846eb48b978c31994 (patch) | |
tree | b7f8c2241a3d77a75179f40be422cd773bd504bb /lib/noticelist.php | |
parent | f4ad0acd8450a322d4a5d54b7e8e4baee75de3e5 (diff) |
Fix for conversation check in @-reply notification email; i18n cleanup on mail messages: fixed some bad gettext usage, added trans doc comments.
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r-- | lib/noticelist.php | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php index 83c8de9f6..4f997a328 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -543,18 +543,7 @@ class NoticeListItem extends Widget function showContext() { - $hasConversation = false; - if (!empty($this->notice->conversation)) { - $conversation = Notice::conversationStream( - $this->notice->conversation, - 1, - 1 - ); - if ($conversation->N > 0) { - $hasConversation = true; - } - } - if ($hasConversation) { + if ($this->notice->hasConversation()) { $conv = Conversation::staticGet( 'id', $this->notice->conversation |