Author: opera.wang
Description:
Version: 1.5.x
Severity: normal
Author: opera.wang
Description:
Version: 1.5.x
Severity: normal
opera.wang wrote:
When using LdapAuthentication extentions, ss_users in site_stat won't updated:
in SpecialUserlogin.php:
if ( $wgAuth->autoCreate() && $wgAuth->userExists( $u->getName() ) ) { if ( $wgAuth->authenticate( $u->getName(), $this->mPassword ) ) { $u =& $this->initUser( $u );
so the SiteStatsUpdate function won't get called.
Suggest moving these lines in /includes/SpecialUserlogin.php :
$ssUpdate = new SiteStatsUpdate( 0, 0, 0, 0, 1 ); $ssUpdate->doUpdate();
to function &initUser( &$u )