don't skip code check for skipped apps

those apps will have to use the public api
This commit is contained in:
Georg Ehrke 2014-06-13 21:51:16 +02:00
parent c378e76412
commit 65028c459b
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ class OC_Installer{
}
$info=OC_App::getAppInfo($extractDir.'/appinfo/info.xml', true);
// check the code for not allowed calls
if(!$isShipped && !OC_Installer::checkCode($info['id'], $extractDir)) {
if(!OC_Installer::checkCode($info['id'], $extractDir)) {
OC_Helper::rmdirr($extractDir);
throw new \Exception($l->t("App can't be installed because of not allowed code in the App"));
}