]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apilistmemberships.php
Merge branch 'openid-plugin' into 'nightly'
[quix0rs-gnu-social.git] / actions / apilistmemberships.php
index 04c771536306fa4779ea13165e24e98a944c716b..bf7f0e84d81a4e72a288f448ab06de45d95adfde 100644 (file)
@@ -115,11 +115,10 @@ class ApiListMembershipsAction extends ApiBareAuthAction
 
     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);
     }
 }