Unused variable $wgUser
authorPlatonides <platonides@gmail.com>
Tue, 29 May 2012 17:54:48 +0000 (19:54 +0200)
committerPlatonides <platonides@gmail.com>
Tue, 29 May 2012 17:54:48 +0000 (19:54 +0200)
Change-Id: Ib00ba04cc372788b791fec3f1358048530ecca9f

includes/specials/SpecialEmailuser.php

index 55b500d..2ab02cb 100644 (file)
@@ -254,7 +254,7 @@ class SpecialEmailUser extends UnlistedSpecialPage {
         * or maybe even true on success if anything uses the EmailUser hook.
         */
        public static function submit( array $data, IContextSource $context ) {
-               global $wgUser, $wgUserEmailUseReplyTo;
+               global $wgUserEmailUseReplyTo;
 
                $target = self::getTarget( $data['Target'] );
                if( !$target instanceof User ) {