зеркало из https://github.com/nextcloud/server.git
More info about not compatible apps (app id)
This commit is contained in:
Родитель
c958d5ba80
Коммит
598815b21e
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче