fixed problem in setup, because of not instanciated account object

This commit is contained in:
Ralf Becker 2007-12-13 23:42:17 +00:00
parent 483aa9a343
commit 1c2a564c14

View File

@ -900,7 +900,7 @@
$GLOBALS['egw']->db = clone($this->db); $GLOBALS['egw']->db = clone($this->db);
$GLOBALS['egw']->common =& CreateObject('phpgwapi.common'); $GLOBALS['egw']->common =& CreateObject('phpgwapi.common');
$this->accounts = new accounts($config); $GLOBALS['egw']->accounts = $this->accounts = new accounts($config);
$this->accounts->cache_invalidate(); // the cache is shared for all instances of the class $this->accounts->cache_invalidate(); // the cache is shared for all instances of the class
if(($GLOBALS['egw_info']['server']['account_repository'] == 'ldap') && if(($GLOBALS['egw_info']['server']['account_repository'] == 'ldap') &&