Skip to content

Commit

Permalink
Merge pull request #36593 from nextcloud/backport/36588/stable25
Browse files Browse the repository at this point in the history
[stable25] Revert #34908 to allow 32bit setups to upgrade to 26
  • Loading branch information
come-nc authored Feb 9, 2023
2 parents 5966a84 + 6621ad3 commit a8097b5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/private/Updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,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(), [
Expand Down

0 comments on commit a8097b5

Please sign in to comment.