mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
use the new singleton pattern for the accountsclass
This commit is contained in:
parent
d31d731513
commit
2403c5d0f7
@ -131,7 +131,8 @@
|
||||
$this->common =& CreateObject('phpgwapi.common');
|
||||
$this->hooks =& CreateObject('phpgwapi.hooks');
|
||||
$this->auth =& CreateObject('phpgwapi.auth');
|
||||
$this->accounts =& CreateObject('phpgwapi.accounts');
|
||||
include_once(EGW_INCLUDE_ROOT.'/phpgwapi/inc/class.accounts.inc.php');
|
||||
$this->accounts = accounts::getInstance();
|
||||
$this->acl =& CreateObject('phpgwapi.acl');
|
||||
/* Do not create the session object if called by the sessions class. This way
|
||||
* we ensure the correct db based on the user domain.
|
||||
|
Loading…
Reference in New Issue
Block a user