Minor tweak in debug output. Makes much more readible (and per most other debug state...
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 4 Nov 2008 02:04:53 +0000 (02:04 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 4 Nov 2008 02:04:53 +0000 (02:04 +0000)
includes/StubObject.php

index ec52e7f..e27f0b2 100644 (file)
@@ -95,7 +95,7 @@ class StubObject {
                        if ( ++$recursionLevel > 2 ) {
                                throw new MWException( "Unstub loop detected on call of \${$this->mGlobal}->$name from $caller\n" );
                        }
-                       wfDebug( "Unstubbing \${$this->mGlobal} on call of \${$this->mGlobal}->$name from $caller\n" );
+                       wfDebug( "Unstubbing \${$this->mGlobal} on call of \${$this->mGlobal}::$name from $caller\n" );
                        $GLOBALS[$this->mGlobal] = $this->_newObject();
                        --$recursionLevel;
                        wfProfileOut( $fname );