We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a84250e commit c493791Copy full SHA for c493791
lib/private/Security/CertificateManager.php
@@ -238,8 +238,12 @@ private function needsRebundling($uid = '') {
238
if (!$this->view->file_exists($targetBundle)) {
239
return true;
240
}
241
- if (!is_null($uid)) { // also depend on the system bundle
242
- $sourceBundles[] = $this->view->filemtime($this->getCertificateBundle(null));
+
+ // also depend on the system bundle
243
+ $sourceMTimes[] = $this->view->filemtime($this->getCertificateBundle(null));
244
245
+ if (!is_null($uid)) { // add the user bundle
246
+ $sourceMTimes[] = $this->view->filemtime($this->getCertificateBundle($uid));
247
248
249
$sourceMTime = array_reduce($sourceMTimes, function ($max, $mtime) {
0 commit comments