]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/usergroups.php
Drop dead variable
[quix0rs-gnu-social.git] / actions / usergroups.php
index 746f992aae74b5938894c3774fe15e3c93a5297c..ce5dc20178102b03dc39ee74b35aadca6963b5c5 100644 (file)
@@ -129,7 +129,6 @@ class UsergroupsAction extends GalleryAction
         // TRANS: %s is a user nickname.
         $message = sprintf(_('%s is not a member of any group.'), $this->getTarget()->getNickname()) . ' ';
         if (common_logged_in()) {
-            $current_user = common_current_user();
             if ($this->scoped->sameAs($this->getTarget())) {
                 // TRANS: Text on group page for a user that is not a member of any group. This message contains
                 // TRANS: a Markdown link in the form [link text](link) and a variable that should not be changed.