]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/peopletagsforusersection.php
Added type-hints for StartInitializeRouter hooks.
[quix0rs-gnu-social.git] / lib / peopletagsforusersection.php
index 37f46b850d128c5b83d4430b5a775c86c154c27b..fa5ec310330fc4dc08681a8b6c0140406609281e 100644 (file)
@@ -54,8 +54,7 @@ class PeopletagsForUserSection extends PeopletagSection
         $limit = PEOPLETAGS_PER_SECTION+1;
         $offset = 0;
 
-        $auth_user = common_current_user();
-        $ptags = $this->profile->getOtherTags($auth_user, $offset, $limit);
+        $ptags = $this->profile->getOtherTags(Profile::current(), $offset, $limit);
 
         return $ptags;
     }