summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Security/CertificateManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Security/CertificateManager.php b/lib/private/Security/CertificateManager.php
index befdcb6b85b..77d0c844b8c 100644
--- a/lib/private/Security/CertificateManager.php
+++ b/lib/private/Security/CertificateManager.php
@@ -238,8 +238,9 @@ class CertificateManager implements ICertificateManager {
if (!$this->view->file_exists($targetBundle)) {
return true;
}
+
if (!is_null($uid)) { // also depend on the system bundle
- $sourceBundles[] = $this->view->filemtime($this->getCertificateBundle(null));
+ $sourceMTimes[] = $this->view->filemtime($this->getCertificateBundle(null));
}
$sourceMTime = array_reduce($sourceMTimes, function ($max, $mtime) {