mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
"re-added (depricated) php4 constructor, as it get's called by some old apps"
This commit is contained in:
parent
28ea1bb74c
commit
77d42d1ef8
@ -46,7 +46,7 @@ class hooks
|
||||
/**
|
||||
* constructor, reads and caches the complete hooks table
|
||||
*
|
||||
* @param object $db=null database class, if null we use $GLOBALS['egw']->db
|
||||
* @param egw_db $db=null database class, if null we use $GLOBALS['egw']->db
|
||||
*/
|
||||
function __construct($db=null)
|
||||
{
|
||||
@ -59,6 +59,17 @@ class hooks
|
||||
//_debug_array($this->found_hooks);
|
||||
}
|
||||
|
||||
/**
|
||||
* php4 constructor
|
||||
*
|
||||
* @param egw_db $db
|
||||
* @deprecated use __construct()
|
||||
*/
|
||||
function hooks($db=null)
|
||||
{
|
||||
self::__construct();
|
||||
}
|
||||
|
||||
/**
|
||||
* executes all the hooks (the user has rights to) for a given location
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user