[horde] horde-remove-user-data gives an error

Jan Schneider jan at horde.org
Fri Mar 20 13:25:58 UTC 2015


Zitat von Michael <mine at michi.su>:

> Hi,
> while trying to delete a user from the Horde database I'm getting a  
> Fatal Error.
>
> I'm using the latest versions from pear.
>
> # horde-remove-user-data
> [  INFO  ] Horde directory: /var/www/vhosts/horde
>
> Username: michael at filestore.su
>
> Application to remove data from (blank for all apps):
>
> Removing data of user(s):
>   michael at filestore.su
>
> Are you sure you want to remove user data?
>     (y) Yes
>     (n) No
>
> Type your choice [n]: y
> PHP Fatal error:  Call to a member function getParam() on a  
> non-object in /var/www/vhosts/horde/ingo/config/hooks.php on line 57
>
> ====================
>
> Fatal Error:
> Call to a member function getParam() on a non-object
> In /var/www/vhosts/horde/ingo/config/hooks.php on line 57
>
> 1. Horde_ErrorHandler::catchFatalError()
>
> ====================
>
>
> Content of
> /var/www/vhosts/horde/ingo/config/hooks.php
>
> public function transport_auth($driver)
> {
>   switch ($driver) {
>     case 'timsieved':
>     $ob = $GLOBALS['registry']->call('mail/imapOb');

       if (!$ob) {
           return true;
       }

>     return array(
>       'euser' => $ob->getParam('username'),
>       'password' => $ob->getParam('password'),
>       'username' => $GLOBALS['registry']->getAuth(null)
>     );
>   }return true;
> }
>
> Can I fix this somehow?
>
> Thanks,
> Michael
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list