]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't show ModPlus for group profiles
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Jun 2014 17:08:15 +0000 (19:08 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 23 Jun 2014 17:08:15 +0000 (19:08 +0200)
plugins/ModPlus/ModPlusPlugin.php

index 87ffe10e1ee4fd75990249c59bda038a7d4f1994..e041b1aaf47e25dfb405ef0cafdb572e072eccfc 100644 (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...');