fixed legacy cache access

This commit is contained in:
Frank Schubert
2022-02-16 10:51:10 +01:00
parent 9077367c74
commit 0edbf418cf
5 changed files with 13 additions and 13 deletions

View File

@@ -21,11 +21,11 @@ class TerminationFileModel {
}
}
$me = mfValuecache::get("me");
$me = mfValuecache::singleton()->get("me");
if(!$me) {
$me = new User();
$me->loadMe();
mfValuecache::set("me", $this->me);
mfValuecache::singleton()->set("me", $this->me);
}
if($model->create_by === null) {
@@ -157,4 +157,4 @@ class TerminationFileModel {
return $where;
}
}
}