Pārlūkot izejas kodu

Deprecate PHP7.3 for Nextcloud 23

* 7.3 reaches EOL shortly after the release of 23.0.0
* Nextcloud 24 will require PHP7.4

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v23.0.0beta1
Christoph Wurst pirms 2 gadiem
vecāks
revīzija
4b8f8c5203
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam

+ 1
- 1
apps/settings/lib/Controller/CheckSetupController.php Parādīt failu

@@ -299,7 +299,7 @@ class CheckSetupController extends Controller {
* @return bool
*/
protected function isPhpOutdated(): bool {
return PHP_VERSION_ID < 70300;
return PHP_VERSION_ID < 70400;
}

/**

+ 2
- 2
core/js/setupchecks.js Parādīt failu

@@ -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
})
}

Notiek ielāde…
Atcelt
Saglabāt