error handling in case a requested app doesn't exists

This commit is contained in:
Thomas Müller 2014-01-15 17:11:29 +01:00
parent bd643c47f3
commit 7f68497b39
1 changed files with 3 additions and 0 deletions

View File

@ -407,6 +407,9 @@ class OC_Installer{
include OC_App::getAppPath($app)."/appinfo/install.php";
}
$info=OC_App::getAppInfo($app);
if (is_null($info)) {
return false;
}
OC_Appconfig::setValue($app, 'installed_version', OC_App::getAppVersion($app));
//set remote/public handelers