mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
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:
parent
0de150ed74
commit
0ce2dfa421
@ -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.'));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user