From 11d03777211062ba7a77e04a83e5d8ca2fa5b48c Mon Sep 17 00:00:00 2001 From: addshore Date: Sun, 3 Apr 2016 11:06:27 +0300 Subject: [PATCH] Remove unused $fname in StubObject::_unstub Change-Id: I1a90d888b1b17e21b54b90f3665c63edd1f21195 --- includes/StubObject.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/StubObject.php b/includes/StubObject.php index 211afda671..0b4d048e74 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -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 " -- 2.20.1