Skip to content

Commit

Permalink
Merge pull request #39723 from nextcloud/removed-apc-extension-versio…
Browse files Browse the repository at this point in the history
…n-check

chore: remove version check for apc extension
  • Loading branch information
kesselb committed Aug 10, 2023
2 parents 7d01b96 + 7cab582 commit 51833a5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/private/Memcache/APCu.php
Expand Up @@ -155,10 +155,7 @@ public static function isAvailable(): bool {
return false;
} elseif (!\OC::$server->get(IniGetWrapper::class)->getBool('apc.enable_cli') && \OC::$CLI) {
return false;
} elseif (
version_compare(phpversion('apc') ?: '0.0.0', '4.0.6') === -1 &&
version_compare(phpversion('apcu') ?: '0.0.0', '5.1.0') === -1
) {
} elseif (version_compare(phpversion('apcu') ?: '0.0.0', '5.1.0') === -1) {
return false;
} else {
return true;
Expand Down

0 comments on commit 51833a5

Please sign in to comment.