]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/listsnav.php
Avoid having to check for notices without rendered copies in upgrade.php
[quix0rs-gnu-social.git] / lib / listsnav.php
index d550233ef5810864ee482df053c4b4b68f2e1c22..71e994094cbadde9870c5a9953d4db857f1f35de 100644 (file)
@@ -49,9 +49,7 @@ class ListsNav extends MoreMenu
         parent::__construct($out);
         $this->profile = $profile;
 
-        $user = common_current_user();
-
-        $this->lists = $profile->getLists($user);
+        $this->lists = $profile->getLists(Profile::current());
     }
 
     function tag()