spaces to tabs
This commit is contained in:
parent
736d5deaee
commit
ecd40f0abc
|
@ -223,8 +223,8 @@ class OC_App{
|
||||||
// check if the app is compatible with this version of ownCloud
|
// check if the app is compatible with this version of ownCloud
|
||||||
$info=OC_App::getAppInfo($app);
|
$info=OC_App::getAppInfo($app);
|
||||||
$version=OC_Util::getVersion();
|
$version=OC_Util::getVersion();
|
||||||
$fullVersion = (float) ($version[0] . '.' . $version[1] . $version[2]);
|
$fullVersion = (float) ($version[0] . '.' . $version[1] . $version[2]);
|
||||||
if(!isset($info['require']) or ($fullVersion < (float) $info['require'])) {
|
if(!isset($info['require']) or ($fullVersion < (float) $info['require'])) {
|
||||||
OC_Log::write('core',
|
OC_Log::write('core',
|
||||||
'App "'.$info['name'].'" can\'t be installed because it is'
|
'App "'.$info['name'].'" can\'t be installed because it is'
|
||||||
.' not compatible with this version of ownCloud',
|
.' not compatible with this version of ownCloud',
|
||||||
|
@ -852,8 +852,8 @@ class OC_App{
|
||||||
foreach($apps as $app) {
|
foreach($apps as $app) {
|
||||||
// check if the app is compatible with this version of ownCloud
|
// check if the app is compatible with this version of ownCloud
|
||||||
$info = OC_App::getAppInfo($app);
|
$info = OC_App::getAppInfo($app);
|
||||||
$fullVersion = (float) ($version[0] . '.' . $version[1] . $version[2]);
|
$fullVersion = (float) ($version[0] . '.' . $version[1] . $version[2]);
|
||||||
if(!isset($info['require']) or ($fullVersion < (float) $info['require'])) {
|
if(!isset($info['require']) or ($fullVersion < (float) $info['require'])) {
|
||||||
OC_Log::write('core',
|
OC_Log::write('core',
|
||||||
'App "'.$info['name'].'" ('.$app.') can\'t be used because it is'
|
'App "'.$info['name'].'" ('.$app.') can\'t be used because it is'
|
||||||
.' not compatible with this version of ownCloud',
|
.' not compatible with this version of ownCloud',
|
||||||
|
|
Loading…
Reference in New Issue