From 45b93c09ce48e37c3a4b445fb60ccd5a1c80e64a Mon Sep 17 00:00:00 2001
From: Ralf Becker <ralfbecker@outdoor-training.de>
Date: Tue, 20 Jun 2006 23:02:03 +0000
Subject: [PATCH] check_install reads now further checks from the setup.inc.php
 file of the apps

---
 calendar/setup/setup.inc.php | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/calendar/setup/setup.inc.php b/calendar/setup/setup.inc.php
index c1202576f9..96d2a7684d 100755
--- a/calendar/setup/setup.inc.php
+++ b/calendar/setup/setup.inc.php
@@ -52,6 +52,16 @@
 		 'appname' => 'etemplate',
 		 'versions' => Array('1.0.0','1.0.1','1.2','1.3')
 	);
+	
+	// installation checks for calendar
+	$setup_info['calendar']['check_install'] = array(
+		// check if PEAR is availible
+		'' => array(
+			'func' => 'pear_check',
+			'from' => 'Calendar (iCal import+export)',
+		),
+	);	
+