From e58670098221f423875f8f90441c77fad39ec27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 7 Feb 2023 15:08:43 +0100 Subject: [PATCH] Revert "disable upgrades to 26 for 32-bit" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit faa747e44575269d9f4eb09d0a2c6aa3fe0501f8. Signed-off-by: Côme Chilliet --- lib/private/Updater.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 09516674e9be3..45a5b4c216013 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -137,9 +137,6 @@ public function upgrade(): bool { $success = true; try { - if (PHP_INT_SIZE < 8 && version_compare($currentVersion, '26.0.0.0', '>=')) { - throw new HintException('You are running a 32-bit PHP version. Cannot upgrade to Nextcloud 26 and higher. Please switch to 64-bit PHP.'); - } $this->doUpgrade($currentVersion, $installedVersion); } catch (HintException $exception) { $this->log->error($exception->getMessage(), [