From c70be30eba17b13f5a73b527ff4294daa79dea78 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 18 Jul 2005 23:30:09 +0000 Subject: [PATCH] reverted Pim's last commit, as it's based on the 1.0.0 branch and need to be merged with HEAD first --- calendar/setup/setup.inc.php | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/calendar/setup/setup.inc.php b/calendar/setup/setup.inc.php index 81a77c804b..1afd4f641c 100755 --- a/calendar/setup/setup.inc.php +++ b/calendar/setup/setup.inc.php @@ -12,7 +12,7 @@ /* $Id$ */ $setup_info['calendar']['name'] = 'calendar'; - $setup_info['calendar']['version'] = '1.0.0'; + $setup_info['calendar']['version'] = '1.0.0.005'; $setup_info['calendar']['app_order'] = 3; $setup_info['calendar']['enable'] = 1; @@ -44,13 +44,22 @@ $setup_info['calendar']['hooks'][] = 'home_month'; $setup_info['calendar']['hooks'][] = 'home_week'; $setup_info['calendar']['hooks'][] = 'home_year'; - $setup_info['calendar']['hooks'][] = 'manual'; $setup_info['calendar']['hooks'][] = 'preferences'; $setup_info['calendar']['hooks'][] = 'settings'; - $setup_info['calendar']['hooks'][] = 'sidebox_menu'; - - $setup_info['calendar']['hooks']['toolbar'] = 'calendar.toolbar.toolbar'; - $setup_info['calendar']['hooks']['menu'] = 'calendar.calendarmenu.calendarmenu'; - - $setup_info['calendar']['hooks']['notify'] = 'calendar.calendernotify.notify'; - + $setup_info['calendar']['hooks']['sidebox_menu'] = 'calendar.uical.sidebox_menu'; + + /* Dependencies for this app to work */ + $setup_info['calendar']['depends'][] = array( + 'appname' => 'phpgwapi', + 'versions' => Array('0.9.14','0.9.15','0.9.16','1.0.0','1.0.1') + ); + $setup_info['calendar']['depends'][] = array( + 'appname' => 'etemplate', + 'versions' => Array('1.0.0','1.0.1') + ); + + + + + +