X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fattachmentnoticesection.php;h=25e64adf9efdc2d2e139485f476135b886e2f77b;hb=eb7e3ee528e6276f5b7a1a090286130c30beb150;hp=578c171ff591bdba3e8bde5533a263ae90ce684a;hpb=9d87313eaebe8240393ac300a435f3b1332c8849;p=quix0rs-gnu-social.git diff --git a/lib/attachmentnoticesection.php b/lib/attachmentnoticesection.php index 578c171ff5..25e64adf9e 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'; } } -