mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
only register hooks for installed applications
This commit is contained in:
parent
9ab2212cfa
commit
70c105d2ec
@ -233,8 +233,9 @@ else
|
||||
if(@get_var('hooks', Array('GET')))
|
||||
{
|
||||
// Find & register all application hooks
|
||||
foreach($setup_info as $appname => $info) {
|
||||
$GLOBALS['egw_setup']->register_hooks($appname);
|
||||
foreach($setup_info as $appname => $info)
|
||||
{
|
||||
if ($info['currentver']) $GLOBALS['egw_setup']->register_hooks($appname);
|
||||
}
|
||||
echo lang('All hooks registered') . '<br />';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user