Show photos on all of a user's pages
This commit is contained in:
parent
a3c4dca90d
commit
a10a9c4a90
@ -176,9 +176,7 @@ class GNUsocialPhotosPlugin extends Plugin
|
||||
|
||||
function onEndPersonalGroupNav($nav)
|
||||
{
|
||||
if($nav->action instanceof ShowstreamAction) {
|
||||
$nav->out->menuItem(common_local_url('photos',
|
||||
array('nickname' => $nav->action->trimmed('nickname'))), 'Photos');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user