forked from GNUsocial/gnu-social
show correct favorites link
This commit is contained in:
parent
baa17381c0
commit
945bdf649b
@ -69,6 +69,12 @@ class PopularNoticeSection extends NoticeSection
|
||||
|
||||
function moreUrl()
|
||||
{
|
||||
return common_local_url('favorited');
|
||||
if (common_config('singleuser', 'enabled')) {
|
||||
$user = User::singleUser();
|
||||
common_local_url('showfavorites', array('nickname' =>
|
||||
$user->nickname));
|
||||
} else {
|
||||
return common_local_url('favorited');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user