Checking for the DateTime class, for extended date support.

Correcting a spelling mistake in the class name to check for the correct one.
This commit is contained in:
Felix Möller 2011-01-22 02:09:58 +01:00 committed by Andrew McMillan
parent 0de150ed74
commit 0ce2dfa421

View File

@ -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.'));