]> source.dussan.org Git - nextcloud-server.git/commitdiff
Deprecate PHP7.4 35024/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Tue, 8 Nov 2022 10:19:05 +0000 (11:19 +0100)
committerChristoph Wurst <christoph@winzerhof-wurst.at>
Thu, 10 Nov 2022 08:56:32 +0000 (09:56 +0100)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
apps/settings/lib/Controller/CheckSetupController.php
core/js/setupchecks.js

index 96fa6c20fc37eddc85eddf4d48b42b8a4c969420..76da8cd2d29b2d75562c81650fec6f6fd3267240 100644 (file)
@@ -330,7 +330,7 @@ class CheckSetupController extends Controller {
         * @return bool
         */
        protected function isPhpOutdated(): bool {
-               return PHP_VERSION_ID < 70400;
+               return PHP_VERSION_ID < 80000;
        }
 
        /**
index 338d818eeee37a9c4f9a720ef01f24af82e804bd..67f8d70bd31ab409db5111fee454a4843de2f9c1 100644 (file)
                                                        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}.')