summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2014-06-13 21:51:16 +0200
committerGeorg Ehrke <developer@georgehrke.com>2014-06-13 21:51:16 +0200
commit65028c459b35ca38f787e0430415f7b00f46c152 (patch)
treeffb6a3e83b2c3aa9884dcc1a23707bccdd84a3fa /lib
parentc378e76412fb0bfa52a4dd9e3fc500c6d492cd46 (diff)
downloadnextcloud-server-65028c459b35ca38f787e0430415f7b00f46c152.tar.gz
nextcloud-server-65028c459b35ca38f787e0430415f7b00f46c152.zip
don't skip code check for skipped apps
those apps will have to use the public api
Diffstat (limited to 'lib')
-rw-r--r--lib/private/installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index 466aa4a8f89..f7c770bf9a9 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(!$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"));
}