[Pkg-owncloud-commits] [owncloud] 98/223: don't skip code check for skipped apps
David Prévot
taffit at moszumanska.debian.org
Sun Jun 22 01:54:11 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 65028c459b35ca38f787e0430415f7b00f46c152
Author: Georg Ehrke <developer at georgehrke.com>
Date: Fri Jun 13 21:51:16 2014 +0200
don't skip code check for skipped apps
those apps will have to use the public api
---
lib/private/installer.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/private/installer.php b/lib/private/installer.php
index 466aa4a..f7c770b 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"));
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list