From 6621ad3e4ae6571c1254adf037d6b0631b4d4f6a Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Tue, 7 Feb 2023 15:08:43 +0100 Subject: 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 53b07e25809..78613ddbb0c 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -138,9 +138,6 @@ class Updater extends BasicEmitter { $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(), [ -- cgit v1.2.3