We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e72d4 commit 1028b1bCopy full SHA for 1028b1b
lib/private/Updater.php
@@ -40,7 +40,6 @@
40
*/
41
namespace OC;
42
43
-use Composer\Semver\Semver;
44
use OCP\App\IAppManager;
45
use OCP\EventDispatcher\Event;
46
use OCP\EventDispatcher\IEventDispatcher;
@@ -139,7 +138,7 @@ public function upgrade(): bool {
139
138
140
$success = true;
141
try {
142
- if (PHP_INT_SIZE < 8 && Semver::satisfies($currentVersion, '> 25')) {
+ if (PHP_INT_SIZE < 8 && version_compare($currentVersion, '26.0.0', '>=')) {
143
throw new HintException('You are running a 32-bit PHP version. Cannot upgrade to Nextcloud 26 and higher. Please switch to 64-bit PHP.');
144
}
145
$this->doUpgrade($currentVersion, $installedVersion);
0 commit comments