From: Mikael Nordfeldth Date: Thu, 6 Mar 2014 02:21:55 +0000 (+0100) Subject: Removed deprecated Inbox functions not in use from User X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c812e7c0d6aafd838ad3f7bcf9784d9b6a099985;p=quix0rs-gnu-social.git Removed deprecated Inbox functions not in use from User --- diff --git a/classes/User.php b/classes/User.php index 2b390bb90b..540965209d 100644 --- a/classes/User.php +++ b/classes/User.php @@ -494,47 +494,6 @@ class User extends Managed_DataObject return $this->getProfile()->favoriteNotices($own, $offset, $limit, $since_id, $max_id); } - function noticeInbox($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0) - { - $stream = new InboxNoticeStream($this); - return $stream->getNotices($offset, $limit, $since_id, $before_id); - } - - // DEPRECATED, use noticeInbox() - - function noticesWithFriends($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0) - { - return $this->noticeInbox($offset, $limit, $since_id, $before_id); - } - - // DEPRECATED, use noticeInbox() - - function noticesWithFriendsThreaded($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0) - { - return $this->noticeInbox($offset, $limit, $since_id, $before_id); - } - - // DEPRECATED, use noticeInbox() - - function noticeInboxThreaded($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0) - { - return $this->noticeInbox($offset, $limit, $since_id, $before_id); - } - - // DEPRECATED, use noticeInbox() - - function friendsTimeline($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0) - { - return $this->noticeInbox($offset, $limit, $since_id, $before_id); - } - - // DEPRECATED, use noticeInbox() - - function ownFriendsTimeline($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0) - { - $this->noticeInbox($offset, $limit, $since_id, $before_id); - } - function blowFavesCache() { $this->getProfile()->blowFavesCache();