Skip to content
Commit bedd9acf authored by Damien Goutte-Gattat's avatar Damien Goutte-Gattat
Browse files

Fix comparison of PHP versions



Use the builtin function `version_compare` to check an app's
compatibility with the available PHP version, instead of reusing
the `OC\App\CompareVersion::isCompatible` method which is intended
to compare Nextcloud versions. PHP version strings do not always
necessarily follow the simple Major.Minor.Patch format used by
Nextcloud and therefore cannot be properly compared by that method.

Signed-off-by: default avatarDamien Goutte-Gattat <dgouttegattat@incenp.org>
parent ceb3a009
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment