More info about not compatible apps (app id)

This commit is contained in:
Bart Visscher 2012-08-29 22:38:06 +02:00
Родитель c958d5ba80
Коммит 598815b21e
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -571,7 +571,7 @@ 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);
if(!isset($info['require']) or ($version[0]>$info['require'])){ if(!isset($info['require']) or ($version[0]>$info['require'])){
OC_Log::write('core','App "'.$info['name'].'" can\'t be used because it is not compatible with this version of ownCloud',OC_Log::ERROR); OC_Log::write('core','App "'.$info['name'].'" ('.$app.') can\'t be used because it is not compatible with this version of ownCloud',OC_Log::ERROR);
OC_App::disable( $app ); OC_App::disable( $app );
} }
} }