]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apilistmemberships.php
Merged
[quix0rs-gnu-social.git] / actions / apilistmemberships.php
index 04c771536306fa4779ea13165e24e98a944c716b..37e6b77b05df10c7d86e4791a168060937fd147a 100644 (file)
@@ -108,18 +108,17 @@ class ApiListMembershipsAction extends ApiBareAuthAction
      *
      * @return boolean is read only action?
      */
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return true;
     }
 
     function getLists()
     {
-        $profile = $this->target;
-        $fn = array($profile, 'getOtherTags');
+        $fn = array($this->target, 'getOtherTags');
 
         # 20 lists
         list($this->lists, $this->next_cursor, $this->prev_cursor) =
-                Profile_list::getAtCursor($fn, array($this->auth_user), $this->cursor, 20);
+                Profile_list::getAtCursor($fn, array($this->scoped), $this->cursor, 20);
     }
 }