diff options
author | Evan Prodromou <evan@status.net> | 2010-10-05 14:09:17 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-10-05 14:09:17 -0400 |
commit | 8aa9c271dffe6ec6766b94486c0635c9db588db7 (patch) | |
tree | f6cb465062767bdf5642121e61d143bdd2e4dcfe /lib/attachmentnoticesection.php | |
parent | 829a017a5d0104f495cd0b645ecb1f3cdeda25ac (diff) | |
parent | 5c4723919fa757b3e14a59350415cfe53e0900d1 (diff) |
Merge remote branch 'gitorious/1.0.x' into 1.0.x
Diffstat (limited to 'lib/attachmentnoticesection.php')
-rw-r--r-- | lib/attachmentnoticesection.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/attachmentnoticesection.php b/lib/attachmentnoticesection.php index 578c171ff..25e64adf9 100644 --- a/lib/attachmentnoticesection.php +++ b/lib/attachmentnoticesection.php @@ -42,7 +42,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class AttachmentNoticeSection extends NoticeSection { function showContent() { @@ -59,11 +58,12 @@ class AttachmentNoticeSection extends NoticeSection $notice->orderBy('created desc'); $notice->selectAdd('post_id as id'); $notice->find(); - return $notice; + return $notice; } function title() { + // TRANS: Title. return _('Notices where this attachment appears'); } @@ -72,4 +72,3 @@ class AttachmentNoticeSection extends NoticeSection return 'popular_notices'; } } - |