mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #350 from nextcloud/fix-check-certificate-bundles
fix check if the certificate bundle needs to be updated
This commit is contained in:
commit
103417fd9c
1 changed files with 2 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue