PHRAS-2161_coll-id-in-log-docs_MASTER

wip
This commit is contained in:
Jean-Yves Gaulier
2018-07-18 20:33:28 +02:00
parent b8bebbce11
commit b65500bb40
7 changed files with 227 additions and 158 deletions

View File

@@ -1202,7 +1202,7 @@ class databox extends base implements ThumbnailedElement
public function clear_logs()
{
foreach (['log', 'log_colls', 'log_docs', 'log_search', 'log_view', 'log_thumb'] as $table) {
foreach (['log', 'log_docs', 'log_search', 'log_view', 'log_thumb'] as $table) {
$this->get_connection()->delete($table, []);
}