don't show ModPlus for group profiles

This commit is contained in:
Mikael Nordfeldth 2014-06-23 19:08:15 +02:00
parent abcbca5a94
commit 4f59abea9a

View File

@ -112,7 +112,7 @@ class ModPlusPlugin extends Plugin
*/
protected function showProfileOptions(HTMLOutputter $out, Profile $profile)
{
if (!$profile->isLocal()) {
if (!$profile->isGroup() && !$profile->isLocal()) {
$target = common_local_url('remoteprofile', array('id' => $profile->id));
// TRANS: Label for access to remote profile options.
$label = _m('Remote profile options...');