diff options
author | Georg Ehrke <developer@georgehrke.com> | 2014-06-16 15:49:02 +0400 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2014-06-16 15:49:02 +0400 |
commit | 86f546ff6487b9ac8b18ad14ca290b8051f0496e (patch) | |
tree | 6a560c3df65e802757f034d3333b183c1f38fe2f /lib/private/installer.php | |
parent | 65028c459b35ca38f787e0430415f7b00f46c152 (diff) |
disable code check for shipped apps
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r-- | lib/private/installer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php index f7c770bf9a9..466aa4a8f89 100644 --- a/lib/private/installer.php +++ b/lib/private/installer.php @@ -310,7 +310,7 @@ class OC_Installer{ } $info=OC_App::getAppInfo($extractDir.'/appinfo/info.xml', true); // check the code for not allowed calls - if(!OC_Installer::checkCode($info['id'], $extractDir)) { + if(!$isShipped && !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")); } |