mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Create hooks object for hooks call
This commit is contained in:
parent
9520fafe37
commit
787aaf2a5e
@ -158,9 +158,12 @@
|
||||
var $accounts;
|
||||
var $applications;
|
||||
var $db;
|
||||
var $hooks;
|
||||
}
|
||||
$GLOBALS['phpgw'] = new phpgw;
|
||||
$GLOBALS['phpgw']->common = CreateObject('phpgwapi.common');
|
||||
$GLOBALS['phpgw']->db = $phpgw_setup->db;
|
||||
$GLOBALS['phpgw']->hooks = CreateObject('phpgwapi.hooks');
|
||||
|
||||
$cfg_apps = array('phpgwapi','admin','preferences');
|
||||
while(list(,$cfg_app) = each($cfg_apps))
|
||||
|
Loading…
Reference in New Issue
Block a user