]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/peopletagsbyuser.php
Profile::getOwnedTags -> Profile::getLists, first argument is the current user, or...
[quix0rs-gnu-social.git] / actions / peopletagsbyuser.php
index 7dc70058b267a7071447cbc540da6f3fc5bcc720..62c956ff931e5a0ef6bef9172bb55f5a971355ec 100644 (file)
@@ -114,7 +114,7 @@ class PeopletagsbyuserAction extends OwnerDesignAction
 
         $user = common_current_user();
         if ($this->arg('public')) {
-            $this->tags = $this->tagger->getOwnedTags(false, $offset, $limit);
+            $this->tags = $this->tagger->getLists(false, $offset, $limit);
         } else if ($this->arg('private')) {
             if (empty($user)) {
                 // TRANS: Error message displayed when trying to perform an action that requires a logged in user.
@@ -128,7 +128,7 @@ class PeopletagsbyuserAction extends OwnerDesignAction
                 $this->clientError(_('You cannot view others\' private lists'), 403);
             }
         } else {
-            $this->tags = $this->tagger->getOwnedTags(common_current_user(), $offset, $limit);
+            $this->tags = $this->tagger->getLists(common_current_user(), $offset, $limit);
         }
         return true;
     }