From 0ce2dfa42117b0b7ca521411863b4865c6025d08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20M=C3=B6ller?= Date: Sat, 22 Jan 2011 02:09:58 +0100 Subject: [PATCH] Checking for the DateTime class, for extended date support. Correcting a spelling mistake in the class name to check for the correct one. --- htdocs/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/setup.php b/htdocs/setup.php index cab10895..385d83f2 100644 --- a/htdocs/setup.php +++ b/htdocs/setup.php @@ -129,7 +129,7 @@ require_once("AwlQuery.php"); function check_datetime() { - if ( class_exists('DatexTime') ) return new CheckResult(true); + if ( class_exists('DateTime') ) return new CheckResult(true); $result = new CheckResult(false); $result->setClass('dep_warning'); $result->setDescription(i18n('Most of DAViCal will work but upgrading to PHP 5.2 or later is strongly recommended.'));