https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113765
Revision: 113765
Author: ialex
Date: 2012-03-13 21:34:11 +0000 (Tue, 13 Mar 2012)
Log Message:
-----------
Make the debug log output consistent with other usages and only output a
message when loading from the database.
Modified Paths:
--------------
trunk/extensions/CentralAuth/CentralAuthUser.php
Modified: trunk/extensions/CentralAuth/CentralAuthUser.php
===================================================================
--- trunk/extensions/CentralAuth/CentralAuthUser.php 2012-03-13 21:30:29 UTC
(rev 113764)
+++ trunk/extensions/CentralAuth/CentralAuthUser.php 2012-03-13 21:34:11 UTC
(rev 113765)
@@ -1525,17 +1525,14 @@
return;
}
- wfDebugLog( 'CentralAuth', "Loading attached wiki list for
global user {$this->mName}." );
-
if ( isset( $this->mAttachedList ) ) {
- wfDebugLog( 'CentralAuth', "-Found in cache." );
// We have a list already, probably from the cache.
$this->mAttachedArray = explode( "\n",
$this->mAttachedList );
return;
}
- wfDebugLog( 'CentralAuth', "-Loading from DB" );
+ wfDebugLog( 'CentralAuth', "Loading attached wiki list for
global user {$this->mName} from DB" );
$dbw = self::getCentralDB();
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs