Require Profile for Profile->getLists

This commit is contained in:
Mikael Nordfeldth
2016-01-06 00:18:10 +01:00
parent 3d66d960a1
commit 792b62874e
5 changed files with 7 additions and 11 deletions

View 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()