From 4f59abea9a163df2f2b6ab9c07e4526a20e1d0c1 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Mon, 23 Jun 2014 19:08:15 +0200 Subject: [PATCH] don't show ModPlus for group profiles --- plugins/ModPlus/ModPlusPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ModPlus/ModPlusPlugin.php b/plugins/ModPlus/ModPlusPlugin.php index 87ffe10e1e..e041b1aaf4 100644 --- a/plugins/ModPlus/ModPlusPlugin.php +++ b/plugins/ModPlus/ModPlusPlugin.php @@ -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...');