We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 945bdf64 authored by Evan Prodromou's avatar Evan Prodromou

show correct favorites link

parent baa17381
...@@ -69,6 +69,12 @@ class PopularNoticeSection extends NoticeSection ...@@ -69,6 +69,12 @@ class PopularNoticeSection extends NoticeSection
function moreUrl() 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');
}
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment