From b7fdadbe1afb209ca06edfd93bc7dedf9b464578 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 8 Nov 2022 11:19:05 +0100 Subject: [PATCH] Deprecate PHP7.4 Signed-off-by: Christoph Wurst --- apps/settings/lib/Controller/CheckSetupController.php | 2 +- core/js/setupchecks.js | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index dd401b045f0b2..c75fad62b8767 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -330,7 +330,7 @@ private function isUsedTlsLibOutdated() { * @return bool */ protected function isPhpOutdated(): bool { - return PHP_VERSION_ID < 70400; + return PHP_VERSION_ID < 80000; } /** diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index 497f1e5b3323d..56ebf8674aa38 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -303,12 +303,6 @@ type: OC.SetupChecks.MESSAGE_TYPE_INFO }) } - if (data.phpSupported && data.phpSupported.version.substr(0, 3) === '7.3') { - messages.push({ - msg: t('core', 'Nextcloud 23 is the last release supporting PHP 7.3. Nextcloud 24 requires at least PHP 7.4.'), - type: OC.SetupChecks.MESSAGE_TYPE_INFO - }) - } if(!data.forwardedForHeadersWorking) { messages.push({ msg: t('core', 'The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the {linkstart}documentation ↗{linkend}.')