* [perf] remove check used in getbyid.
This commit is contained in:
@@ -361,7 +361,6 @@ class pivotState
|
||||
$this->step = 'query';
|
||||
$this->stage = $pivot->stage;
|
||||
$this->acl = $pivot->acl;
|
||||
$this->used = $pivot->used;
|
||||
$this->whitelist = $pivot->whitelist;
|
||||
|
||||
$this->drills = $drills;
|
||||
|
||||
@@ -187,7 +187,6 @@ class pivotModel extends model
|
||||
if(!empty($pivot->settings)) $pivot->settings = json_decode($pivot->settings, true);
|
||||
|
||||
$this->processNameDesc($pivot);
|
||||
if(empty($pivot->type)) $pivot->used = $this->checkIFChartInUse($pivot->id, 'pivot', $screenList);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user