http://www.mediawiki.org/wiki/Special:Code/MediaWiki/67346

Revision: 67346
Author:   liangent
Date:     2010-06-04 13:24:34 +0000 (Fri, 04 Jun 2010)

Log Message:
-----------
Use wfDebug like other checks

Modified Paths:
--------------
    trunk/extensions/CentralAuth/CentralAuthHooks.php

Modified: trunk/extensions/CentralAuth/CentralAuthHooks.php
===================================================================
--- trunk/extensions/CentralAuth/CentralAuthHooks.php   2010-06-04 13:12:27 UTC 
(rev 67345)
+++ trunk/extensions/CentralAuth/CentralAuthHooks.php   2010-06-04 13:24:34 UTC 
(rev 67346)
@@ -453,6 +453,7 @@
                // but they cannot change $userName, because CentralAuth
                // expects user names on all wikis are the same.
                if ( !wfRunHooks( 'CentralAuthAutoCreate', array( $user, 
$userName ) ) ) {
+                       wfDebug( __METHOD__ . ": denied by other extensions\n" 
);
                        return false;
                }
 



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to