always check the mtime of the system bundle and additionally the user specific certificate bundle if a user is given
This commit is contained in:
parent
a84250e0af
commit
49cad153af
1 changed files with 2 additions and 1 deletions
|
@ -238,8 +238,9 @@ class CertificateManager implements ICertificateManager {
|
||||||
if (!$this->view->file_exists($targetBundle)) {
|
if (!$this->view->file_exists($targetBundle)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_null($uid)) { // also depend on the system bundle
|
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) {
|
$sourceMTime = array_reduce($sourceMTimes, function ($max, $mtime) {
|
||||||
|
|
Loading…
Reference in a new issue