diff --git a/setup/applications.php b/setup/applications.php index 659b879bb5..44643d077d 100644 --- a/setup/applications.php +++ b/setup/applications.php @@ -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') . '
'; }