create old accounts object with deprecated methods for old apps using it

This commit is contained in:
Ralf Becker 2016-03-06 21:15:55 +00:00
parent 3c02af0875
commit 2ccb5cd58d

View File

@ -159,7 +159,7 @@ class egw extends egw_minimal
// translation class is here only for backward compatibility, as all it's methods can be called static now // translation class is here only for backward compatibility, as all it's methods can be called static now
$this->translation = new translation(); $this->translation = new translation();
$this->common = new common(); $this->common = new common();
$this->accounts = accounts::getInstance(); $this->accounts = new accounts();
$this->acl = new acl(); $this->acl = new acl();
// we instanciate the hooks object here manually, to cache it's hooks in the session // we instanciate the hooks object here manually, to cache it's hooks in the session
$this->hooks = new hooks(); $this->hooks = new hooks();