From: Evan Prodromou Date: Thu, 7 Apr 2011 19:27:40 +0000 (-0400) Subject: correctly return values X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=84d848f78cfcb04bceaf8b3a154a7b261a39c1b7;p=quix0rs-gnu-social.git correctly return values --- diff --git a/classes/User.php b/classes/User.php index c968375115..f2b5b08371 100644 --- a/classes/User.php +++ b/classes/User.php @@ -488,28 +488,28 @@ class User extends Memcached_DataObject function noticesWithFriends($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0) { - $this->noticeInbox($offset, $limit, $since_id, $before_id); + 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) { - $this->noticeInbox($offset, $limit, $since_id, $before_id); + 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) { - $this->noticeInbox($offset, $limit, $since_id, $before_id); + 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) { - $this->noticeInbox($offset, $limit, $since_id, $before_id); + return $this->noticeInbox($offset, $limit, $since_id, $before_id); } // DEPRECATED, use noticeInbox()