summaryrefslogtreecommitdiff
path: root/lib/attachmentnoticesection.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-10-05 14:09:17 -0400
committerEvan Prodromou <evan@status.net>2010-10-05 14:09:17 -0400
commit8aa9c271dffe6ec6766b94486c0635c9db588db7 (patch)
treef6cb465062767bdf5642121e61d143bdd2e4dcfe /lib/attachmentnoticesection.php
parent829a017a5d0104f495cd0b645ecb1f3cdeda25ac (diff)
parent5c4723919fa757b3e14a59350415cfe53e0900d1 (diff)
Merge remote branch 'gitorious/1.0.x' into 1.0.x
Diffstat (limited to 'lib/attachmentnoticesection.php')
-rw-r--r--lib/attachmentnoticesection.php5
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';
}
}
-