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

Revision: 97560
Author:   reedy
Date:     2011-09-19 21:24:20 +0000 (Mon, 19 Sep 2011)
Log Message:
-----------
Fix strict errors

Modified Paths:
--------------
    trunk/extensions/LdapAuthentication/LdapAuthentication.php

Modified: trunk/extensions/LdapAuthentication/LdapAuthentication.php
===================================================================
--- trunk/extensions/LdapAuthentication/LdapAuthentication.php  2011-09-19 
21:18:01 UTC (rev 97559)
+++ trunk/extensions/LdapAuthentication/LdapAuthentication.php  2011-09-19 
21:24:20 UTC (rev 97560)
@@ -90,7 +90,7 @@
 $wgLDAPUseFetchedUsername = array();
 $wgPasswordResetRoutes['domain'] = true;
 
-define( "LDAPAUTHVERSION", "1.2g" );
+define( "LDAPAUTHVERSION", "1.2h" );
 
 /**
  * Add extension information to Special:Version
@@ -440,7 +440,7 @@
         * @param UserLoginTemplate $template
         * @access public
         */
-       function modifyUITemplate( &$template ) {
+       function modifyUITemplate( &$template, &$type ) {
                global $wgLDAPAddLDAPUsers;
                global $wgLDAPMailPassword;
 
@@ -508,7 +508,7 @@
         * @return bool
         * @access public
         */
-       function setPassword( $user, &$password ) {
+       function setPassword( $user, $password ) {
                global $wgLDAPUpdateLDAP, $wgLDAPWriterDN, 
$wgLDAPWriterPassword;
 
                $this->printDebug( "Entering setPassword", NONSENSITIVE );
@@ -691,7 +691,7 @@
         * @return bool
         * @access public
         */
-       function addUser( $user, $password ) {
+       function addUser( $user, $password, $email = '', $realname = '' ) {
                global $wgLDAPAddLDAPUsers, $wgLDAPWriterDN, 
$wgLDAPWriterPassword;
                global $wgLDAPSearchAttributes;
                global $wgLDAPWriteLocation;
@@ -913,7 +913,7 @@
         * @access public
         * TODO: fix setExternalID stuff
         */
-       function initUser( &$user ) {
+       function initUser( &$user, $autocreate = false ) {
                $this->printDebug( "Entering initUser", NONSENSITIVE );
 
                if ( $this->authFailed ) {


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to