]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't get a count anywhere
authorEvan Prodromou <evan@prodromou.name>
Tue, 22 Jul 2008 16:32:00 +0000 (12:32 -0400)
committerEvan Prodromou <evan@prodromou.name>
Tue, 22 Jul 2008 16:32:00 +0000 (12:32 -0400)
darcs-hash:20080722163200-84dde-736d11972503a37c062fe51c38c58eaf38a11862.gz

actions/allrss.php
actions/twitapistatuses.php

index 088d04037f3acdb221dffd3efed697506f717d78..9cbfe8dc8f2c58b5d4829bc8b7433cc039c8f891 100644 (file)
@@ -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);
index 1480b7a5a16eb027ac81edc954d1f92af2234cb9..ffe6aed51e75ad4add26fc0026ea2e0642f465a2 100644 (file)
@@ -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':