From 29fe125b4a18f7107b50e54c69184c4f1777bbf6 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Thu, 14 Jan 2021 17:28:45 -0500 Subject: Add constant for PHP requirements (#3369) * Add constant for PHP requirements This new constant is used for PHP version check. This way, we won't forget to modify some part of the code base. * Remove PHP version checks Some checks were obsolete because they were checking unsupported PHP versions. --- app/views/configure/system.phtml | 30 ++++++++++++++---------------- app/views/update/checkInstall.phtml | 2 +- 2 files changed, 15 insertions(+), 17 deletions(-) (limited to 'app/views') diff --git a/app/views/configure/system.phtml b/app/views/configure/system.phtml index 75117ee1c..79376bc4e 100644 --- a/app/views/configure/system.phtml +++ b/app/views/configure/system.phtml @@ -38,23 +38,21 @@ - can_enable_email_validation) { ?> -
-
- -
+
+
+
- +
diff --git a/app/views/update/checkInstall.phtml b/app/views/update/checkInstall.phtml index 183f914c0..8a05fa301 100644 --- a/app/views/update/checkInstall.phtml +++ b/app/views/update/checkInstall.phtml @@ -9,7 +9,7 @@