diff --git a/filemanager/setup/setup.inc.php b/filemanager/setup/setup.inc.php index ffdad2a0ea..4106c9f5e9 100755 --- a/filemanager/setup/setup.inc.php +++ b/filemanager/setup/setup.inc.php @@ -4,7 +4,13 @@ $setup_info['phpwebhosting']['version'] = '0.9.13.001'; $setup_info['phpwebhosting']['app_order'] = 10; - $hooks = Array(); - $hooks_string = implode (',', $hooks); - $setup_info['phpwebhosting']['hooks'] = $hooks_string; + /* The hooks this app includes, needed for hooks registration */ + $setup_info['phpwebhosting']['hooks'][] = 'preferences'; + + /* Dependencies for this app to work */ + $setup_info['phpwebhosting']['depends'][] = array( + 'appname' => 'phpgwapi', + 'versions' => Array('0.9.10', '0.9.11' , '0.9.12') + ); + ?> diff --git a/preferences/setup/setup.inc.php b/preferences/setup/setup.inc.php index 6ef671c3f9..a877f769ea 100755 --- a/preferences/setup/setup.inc.php +++ b/preferences/setup/setup.inc.php @@ -4,7 +4,14 @@ $setup_info['preferences']['version'] = '0.9.11'; $setup_info['preferences']['app_order'] = 1; $setup_info['preferences']['tables'] = ''; - $hooks = Array(); - $hooks_string = implode (',', $hooks); - $setup_info['preferences']['hooks'] = $hooks_string; + + /* The hooks this app includes, needed for hooks registration */ + //$setup_info['admin']['hooks'][] = 'preferences'; + //$setup_info['admin']['hooks'][] = 'admin'; + + /* Dependacies for this app to work */ + $setup_info['preferences']['depends'][] = array( + 'appname' => 'phpgwapi', + 'versions' => Array('0.9.10', '0.9.11' , '0.9.12') + ); ?>