Show photos on all of a user's pages

This commit is contained in:
Max Shinn 2010-12-25 15:56:46 -06:00
parent a3c4dca90d
commit a10a9c4a90

View File

@ -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');
}
}
}