performance optimizations

This commit is contained in:
Frank Schubert
2022-02-15 22:26:10 +01:00
parent dd6f171ee1
commit fa3dec263f
10 changed files with 82 additions and 23 deletions

View File

@@ -24,8 +24,12 @@ class WorkflowvalueModel {
}
}
$me = new User();
$me->loadMe();
$me = mfValuecache::get("me");
if(!$me) {
$me = new User();
$me->loadMe();
mfValuecache::set("me", $this->me);
}
if($model->create_by === null) {
$model->create_by = $me->id;