Index: trunk/extensions/LdapAuthentication/LdapAuthentication.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | # Support is available at http://www.mediawiki.org/wiki/Extension_talk:LDAP_Authentication |
41 | 41 | # |
42 | 42 | |
43 | | -//if ( !defined( 'MEDIAWIKI' ) ) exit; |
| 43 | +if ( !defined( 'MEDIAWIKI' ) ) exit; |
44 | 44 | |
45 | 45 | $wgLDAPDomainNames = array(); |
46 | 46 | $wgLDAPServerNames = array(); |
— | — | @@ -1845,7 +1845,7 @@ |
1846 | 1846 | $wgLDAPAutoAuthDomain = $wgLDAPSmartcardDomain; |
1847 | 1847 | } |
1848 | 1848 | |
1849 | | - if ( $wgLDAPAutoAuthUsername != "" ) { |
| 1849 | + if ( $wgLDAPAutoAuthUsername !== "" ) { |
1850 | 1850 | $wgAuth->printDebug( "wgLDAPAutoAuthUsername is not null, adding hooks.", NONSENSITIVE ); |
1851 | 1851 | if ( version_compare( $wgVersion, '1.14.0', '<' ) ) { |
1852 | 1852 | if ( version_compare( $wgVersion, '1.13.0', '<' ) ) { |