Skip to content
Snippets Groups Projects
Unverified Commit 49cad153 authored by Bjoern Schiessle's avatar Bjoern Schiessle
Browse files

always check the mtime of the system bundle and additionally the user specific...

always check the mtime of the system bundle and additionally the user specific certificate bundle if a user is given
parent a84250e0
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment