]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apilists.php
Added missing type-hint for EndPublicGroupNav (it is Menu).
[quix0rs-gnu-social.git] / actions / apilists.php
index ac76c744d7b7baf9988e3f32457d85b5a002f8b7..42672e6191c40aacf46561341a184d778fa4c5c5 100644 (file)
@@ -61,7 +61,7 @@ class ApiListsAction extends ApiBareAuthAction
      *
      * @return boolean success flag
      */
-    protected function prepare($args)
+    protected function prepare(array $args=array())
     {
         parent::prepare($args);
 
@@ -185,10 +185,10 @@ class ApiListsAction extends ApiBareAuthAction
 
         list($this->lists,
              $this->next_cursor,
-             $this->prev_cursor) = Profile_list::getAtCursor($fn, array($this->auth_user), $cursor, $count);
+             $this->prev_cursor) = Profile_list::getAtCursor($fn, array($this->scoped), $cursor, $count);
     }
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return false;
     }