mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +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:
1 parent
0de150ed74
commit
0ce2dfa421
1 file changed
+1
-1
+1
-1
@@ -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.'));
|
||||
|
||||
Reference in new issue
Block a user