Rename WorkflowStorage::flush() to WorkflowStorage::truncate()
[MAILPOET-4531]
This commit is contained in:
@@ -131,7 +131,7 @@ class WorkflowStorage {
|
||||
}, (array)$data);
|
||||
}
|
||||
|
||||
public function flush(): bool {
|
||||
public function truncate(): bool {
|
||||
$workflowTable = esc_sql($this->workflowTable);
|
||||
$versionTable = esc_sql($this->versionsTable);
|
||||
return $this->wpdb->query("truncate $workflowTable;") === true &&
|
||||
|
Reference in New Issue
Block a user