Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/installer.php')
-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 f1d4d551786..56d7c36a013 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -358,7 +358,7 @@ class OC_Installer{
$appBelongingToId = $info['id'];
$previouslySigned = 'false';
}
- if($data['appdata']['level'] === OC_App::officialApp || $previouslySigned === 'true') {
+ if (file_exists($extractDir . '/appinfo/signature.json') || $previouslySigned === 'true') {
\OC::$server->getConfig()->setAppValue($appBelongingToId, 'signed', 'true');
$integrityResult = \OC::$server->getIntegrityCodeChecker()->verifyAppSignature(
$appBelongingToId,