Skip to content

Commit

Permalink
Bug #13367: Fix function signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jul 15, 2014
1 parent 8c817c1 commit 1eaddad
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions framework/Core/lib/Horde/Core/Auth/Ldap.php
Expand Up @@ -36,10 +36,13 @@ public function addUser($userId, $credentials)
* @param string $oldID The old user ID.
* @param string $newID The new user ID.
* @param array $credentials The new credentials
* @param string $olddn NOT USED.
* @param string $newdn NOT USED.
*
* @throws Horde_Auth_Exception
*/
public function updateUser($oldID, $newID, $credentials)
public function updateUser($oldID, $newID, $credentials, $olddn = null,
$newdn = null)
{
$auth = $GLOBALS['injector']->getInstance('Horde_Core_Factory_Auth')->create();

Expand All @@ -55,10 +58,11 @@ public function updateUser($oldID, $newID, $credentials)
* Delete a set of authentication credentials.
*
* @param string $userId The user ID to delete.
* @param string $dn NOT USED.
*
* @throws Horde_Auth_Exception
*/
public function removeUser($userId)
public function removeUser($userId, $dn = null)
{
list($userId, $credentials) = $GLOBALS['injector']->getInstance('Horde_Core_Factory_Auth')->create()->runHook($userId, array(), 'preauthenticate', 'admin');

Expand Down

0 comments on commit 1eaddad

Please sign in to comment.