Addshore has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/281257

Change subject: Remove unused $fname in StubObject::_unstub
......................................................................

Remove unused $fname in StubObject::_unstub

Change-Id: I1a90d888b1b17e21b54b90f3665c63edd1f21195
---
M includes/StubObject.php
1 file changed, 0 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/57/281257/1

diff --git a/includes/StubObject.php b/includes/StubObject.php
index 211afda..0b4d048 100644
--- a/includes/StubObject.php
+++ b/includes/StubObject.php
@@ -149,7 +149,6 @@
                }
 
                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 "

-- 
To view, visit https://gerrit.wikimedia.org/r/281257
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1a90d888b1b17e21b54b90f3665c63edd1f21195
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to