X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fsubscriptions.php;h=cfe2b5683a830673f7bda83c877ef768a2ac78a5;hb=b7d07466943a73e1c009467c8daa6e499810080f;hp=10e8f28608c27d0bb23762ef6d8ba3c62aa453d5;hpb=babdc430f93a5efb17db4df0518f690d81f758d7;p=quix0rs-gnu-social.git diff --git a/actions/subscriptions.php b/actions/subscriptions.php index 10e8f28608..cfe2b5683a 100644 --- a/actions/subscriptions.php +++ b/actions/subscriptions.php @@ -106,8 +106,6 @@ class SubscriptionsAction extends GalleryAction } } - $subscriptions->free(); - $this->pagination($this->page > 1, $cnt > PROFILES_PER_PAGE, $this->page, 'subscriptions', array('nickname' => $this->user->nickname)); @@ -169,15 +167,14 @@ class SubscriptionsAction extends GalleryAction * * @return array of Feed objects */ - function getFeeds() { return array(new Feed(Feed::ATOM, common_local_url('AtomPubSubscriptionFeed', array('subscriber' => $this->profile->id)), + // TRANS: Atom feed title. %s is a profile nickname. sprintf(_('Subscription feed for %s (Atom)'), $this->profile->nickname))); - } } @@ -265,5 +262,4 @@ class SubscriptionsListItem extends SubscriptionListItem $this->out->elementEnd('form'); return; } - }