summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/allrss.php2
-rw-r--r--actions/twitapistatuses.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/allrss.php b/actions/allrss.php
index 088d04037..9cbfe8dc8 100644
--- a/actions/allrss.php
+++ b/actions/allrss.php
@@ -43,7 +43,7 @@ class AllrssAction extends Rss10Action {
$user = $this->user;
- list($cnt, $notice) = $user->noticesWithFriends(0, $limit);
+ $notice = $user->noticesWithFriends(0, $limit);
while ($notice->fetch()) {
$notices[] = clone($notice);
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index 1480b7a5a..ffe6aed51 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -223,7 +223,7 @@ class TwitapistatusesAction extends TwitterapiAction {
$link = common_local_url('all', array('nickname' => $user->nickname));
$subtitle = sprintf(_("Updates from %s and friends on %s!"), $user->nickname, $sitename);
- list($cnt, $notice) = $user->noticesWithFriends(($page-1)*20, $count);
+ $notice = $user->noticesWithFriends(($page-1)*20, $count);
switch($apidata['content-type']) {
case 'xml':