Remove unused $fname in StubObject::_unstub
authoraddshore <addshorewiki@gmail.com>
Sun, 3 Apr 2016 08:06:27 +0000 (11:06 +0300)
committeraddshore <addshorewiki@gmail.com>
Sun, 3 Apr 2016 08:06:27 +0000 (11:06 +0300)
Change-Id: I1a90d888b1b17e21b54b90f3665c63edd1f21195

includes/StubObject.php

index 211afda..0b4d048 100644 (file)
@@ -149,7 +149,6 @@ class StubObject {
                }
 
                if ( get_class( $GLOBALS[$this->global] ) != $this->class ) {
-                       $fname = __METHOD__ . '-' . $this->global;
                        $caller = wfGetCaller( $level );
                        if ( ++$recursionLevel > 2 ) {
                                throw new MWException( "Unstub loop detected on call of "