fixed legacy cache access
This commit is contained in:
@@ -30,11 +30,11 @@ class TerminationModel {
|
||||
$model->status_id = 1;
|
||||
}
|
||||
|
||||
$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) {
|
||||
@@ -212,4 +212,4 @@ class TerminationModel {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user