diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-25 11:40:55 +0100 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-02-25 11:40:55 +0100 |
commit | ecd40f0abc8328692df44a2b082fb2ba5dcfbbd2 (patch) | |
tree | 35401cd27b7fd6d6ce745be2c8165cd75b22e5f9 /lib/app.php | |
parent | 736d5deaeec3a7238af7bfd420c7122b321a277a (diff) | |
download | nextcloud-server-ecd40f0abc8328692df44a2b082fb2ba5dcfbbd2.tar.gz nextcloud-server-ecd40f0abc8328692df44a2b082fb2ba5dcfbbd2.zip |
spaces to tabs
Diffstat (limited to 'lib/app.php')
-rw-r--r-- | lib/app.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/app.php b/lib/app.php index a5618be84f1..91bb833b0d0 100644 --- a/lib/app.php +++ b/lib/app.php @@ -223,8 +223,8 @@ class OC_App{ // check if the app is compatible with this version of ownCloud $info=OC_App::getAppInfo($app); $version=OC_Util::getVersion(); - $fullVersion = (float) ($version[0] . '.' . $version[1] . $version[2]); - if(!isset($info['require']) or ($fullVersion < (float) $info['require'])) { + $fullVersion = (float) ($version[0] . '.' . $version[1] . $version[2]); + if(!isset($info['require']) or ($fullVersion < (float) $info['require'])) { OC_Log::write('core', 'App "'.$info['name'].'" can\'t be installed because it is' .' not compatible with this version of ownCloud', @@ -852,8 +852,8 @@ class OC_App{ foreach($apps as $app) { // check if the app is compatible with this version of ownCloud $info = OC_App::getAppInfo($app); - $fullVersion = (float) ($version[0] . '.' . $version[1] . $version[2]); - if(!isset($info['require']) or ($fullVersion < (float) $info['require'])) { + $fullVersion = (float) ($version[0] . '.' . $version[1] . $version[2]); + if(!isset($info['require']) or ($fullVersion < (float) $info['require'])) { OC_Log::write('core', 'App "'.$info['name'].'" ('.$app.') can\'t be used because it is' .' not compatible with this version of ownCloud', |