Big oops - merged to wrong branch.
[lhc/web/wiklou.git] / 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 ) {