From 84d848f78cfcb04bceaf8b3a154a7b261a39c1b7 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 7 Apr 2011 15:27:40 -0400 Subject: [PATCH] correctly return values --- classes/User.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() -- 2.39.5