mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Drop datetime check as minimum PHP version is 5.4
This commit is contained in:
1 parent
ee16fbf6af
commit
0fc1abd976
26 files changed
+114
-200
No files matched your search
@@ -228,14 +228,6 @@ include("page-header.php");
|
||||
require_once("AwlQuery.php");
|
||||
|
||||
|
||||
function check_datetime() {
|
||||
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.'));
|
||||
return $result;
|
||||
}
|
||||
|
||||
function check_xml() {
|
||||
return new CheckResult(function_exists('xml_parser_create_ns'));
|
||||
}
|
||||
@@ -364,7 +356,6 @@ function build_dependencies_table( ) {
|
||||
translate('DAViCal DB Schema version ') => 'check_schema_version',
|
||||
translate('GNU gettext support') => 'check_gettext',
|
||||
translate('PHP iconv support') => 'check_iconv',
|
||||
translate('PHP DateTime class') => 'check_datetime',
|
||||
translate('PHP XML support') => 'check_xml',
|
||||
translate('Suhosin "server.strip" disabled') => 'check_suhosin_server_strip',
|
||||
translate('PHP Magic Quotes GPC off') => 'check_magic_quotes_gpc',
|
||||
|
||||
Reference in new issue
Block a user