Bug #8652: Fix method call
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 19 Oct 2009 16:09:57 +0000 (10:09 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 19 Oct 2009 16:09:57 +0000 (10:09 -0600)
framework/Auth/lib/Horde/Auth/Application.php

index 47798e9..7b7eb47 100644 (file)
@@ -173,7 +173,7 @@ class Horde_Auth_Application extends Horde_Auth_Base
     {
         if ($this->hasCapability('add')) {
             $registry = Horde_Registry::singleton();
-            $registry->callAppMethod($this->_app, $this->_apiMethods['exists'], array('args' => array($userId, $credentials)));
+            $registry->callAppMethod($this->_app, $this->_apiMethods['add'], array('args' => array($userId, $credentials)));
         } else {
             parent::addUser($userId, $credentials);
         }