Skip to content
Snippets Groups Projects
Commit 65028c45 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

don't skip code check for skipped apps

those apps will have to use the public api
parent c378e764
Branches
No related tags found
No related merge requests found
......@@ -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"));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment