don't show ModPlus for group profiles
This commit is contained in:
parent
abcbca5a94
commit
4f59abea9a
@ -112,7 +112,7 @@ class ModPlusPlugin extends Plugin
|
|||||||
*/
|
*/
|
||||||
protected function showProfileOptions(HTMLOutputter $out, Profile $profile)
|
protected function showProfileOptions(HTMLOutputter $out, Profile $profile)
|
||||||
{
|
{
|
||||||
if (!$profile->isLocal()) {
|
if (!$profile->isGroup() && !$profile->isLocal()) {
|
||||||
$target = common_local_url('remoteprofile', array('id' => $profile->id));
|
$target = common_local_url('remoteprofile', array('id' => $profile->id));
|
||||||
// TRANS: Label for access to remote profile options.
|
// TRANS: Label for access to remote profile options.
|
||||||
$label = _m('Remote profile options...');
|
$label = _m('Remote profile options...');
|
||||||
|
Loading…
Reference in New Issue
Block a user