r108179 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108178‎ | r108179 | r108180 >
Date:22:00, 5 January 2012
Author:laner
Status:ok
Tags:
Comment:
ServerNames is a space delimited string, not an array.
Modified paths:
  • /trunk/extensions/LdapAuthentication/LdapAuthentication.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php
@@ -324,7 +324,7 @@
325325 switch ( $preference ) {
326326 case 'ServerNames':
327327 global $wgLDAPServerNames;
328 - return self::setOrDefault( $wgLDAPServerNames, $domain, array() );
 328+ return self::setOrDefault( $wgLDAPServerNames, $domain );
329329 case 'UseLocal':
330330 global $wgLDAPUseLocal;
331331 return $wgLDAPUseLocal;

Status & tagging log