check for valid appinfo in installer

This commit is contained in:
Bart Visscher 2013-03-21 20:36:40 +01:00
parent c546874159
commit ca88cf93ae
1 changed files with 3 additions and 0 deletions

View File

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