forked from extern/egroupware
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