aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2021-10-18 10:00:21 +0200
committerGitHub <noreply@github.com>2021-10-18 10:00:21 +0200
commit643e85cfe81ac079bd2e5bcf1a344a20319f48db (patch)
treefaa976361c66fbcb02b8806ae0f849c87ffe6554
parenta1c8b6e9eb6543cde93ec2fb8be2fddfff0f54d2 (diff)
parent4b8f8c5203da4d04cfd0ca76175130644e11d55b (diff)
downloadnextcloud-server-643e85cfe81ac079bd2e5bcf1a344a20319f48db.tar.gz
nextcloud-server-643e85cfe81ac079bd2e5bcf1a344a20319f48db.zip
Merge pull request #29285 from nextcloud/fix/php-7.3-deprecation
Deprecate PHP7.3 for Nextcloud 23
-rw-r--r--apps/settings/lib/Controller/CheckSetupController.php2
-rw-r--r--core/js/setupchecks.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php
index 89abf68d643..e18dfb6028b 100644
--- a/apps/settings/lib/Controller/CheckSetupController.php
+++ b/apps/settings/lib/Controller/CheckSetupController.php
@@ -299,7 +299,7 @@ class CheckSetupController extends Controller {
* @return bool
*/
protected function isPhpOutdated(): bool {
- return PHP_VERSION_ID < 70300;
+ return PHP_VERSION_ID < 70400;
}
/**
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index f5ce3b91906..a16f50e122a 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -290,9 +290,9 @@
type: OC.SetupChecks.MESSAGE_TYPE_INFO
})
}
- if (data.phpSupported && data.phpSupported.version.substr(0, 3) === '7.2') {
+ if (data.phpSupported && data.phpSupported.version.substr(0, 3) === '7.3') {
messages.push({
- msg: t('core', 'Nextcloud 20 is the last release supporting PHP 7.2. Nextcloud 21 requires at least PHP 7.3.'),
+ 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
})
}