diff options
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r-- | lib/private/installer.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php index 667c05c9c16..3bddfa6a3b7 100644 --- a/lib/private/installer.php +++ b/lib/private/installer.php @@ -133,10 +133,7 @@ class OC_Installer{ } // check if the app is compatible with this version of ownCloud - if( - !isset($info['require']) - or !OC_App::isAppVersionCompatible(OC_Util::getVersion(), $info['require']) - ) { + if(!OC_App::isAppCompatible(OC_Util::getVersion(), $info)) { OC_Helper::rmdirr($extractDir); throw new \Exception($l->t("App can't be installed because it is not compatible with this version of ownCloud")); } |