From 128cf47212d21a6e9c986e74054696bd54b35583 Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Mon, 11 Feb 2019 14:02:51 +0100 Subject: [PATCH] [FIX] actually purge selected lines when purging selections --- database_cleanup/views/create_indexes.xml | 2 +- database_cleanup/views/purge_columns.xml | 4 +--- database_cleanup/views/purge_data.xml | 4 +--- database_cleanup/views/purge_menus.xml | 4 +--- database_cleanup/views/purge_models.xml | 4 +--- database_cleanup/views/purge_modules.xml | 4 +--- database_cleanup/views/purge_properties.xml | 2 +- database_cleanup/views/purge_tables.xml | 4 +--- 8 files changed, 8 insertions(+), 20 deletions(-) diff --git a/database_cleanup/views/create_indexes.xml b/database_cleanup/views/create_indexes.xml index 714db354a..36ef1f3c1 100644 --- a/database_cleanup/views/create_indexes.xml +++ b/database_cleanup/views/create_indexes.xml @@ -39,7 +39,7 @@ ir.actions.server code - env.get('cleanup.create_indexes.line').purge() + records.purge() diff --git a/database_cleanup/views/purge_columns.xml b/database_cleanup/views/purge_columns.xml index 23eefaaef..850e08166 100644 --- a/database_cleanup/views/purge_columns.xml +++ b/database_cleanup/views/purge_columns.xml @@ -37,9 +37,7 @@ ir.actions.server code - - env.get('cleanup.purge.line.column').purge() - + records.purge() diff --git a/database_cleanup/views/purge_data.xml b/database_cleanup/views/purge_data.xml index c6804a38a..99c192c1b 100644 --- a/database_cleanup/views/purge_data.xml +++ b/database_cleanup/views/purge_data.xml @@ -37,9 +37,7 @@ ir.actions.server code - - env.get('cleanup.purge.line.data').purge() - + records.purge() diff --git a/database_cleanup/views/purge_menus.xml b/database_cleanup/views/purge_menus.xml index 0757088d4..e12d811c2 100644 --- a/database_cleanup/views/purge_menus.xml +++ b/database_cleanup/views/purge_menus.xml @@ -33,9 +33,7 @@ ir.actions.server code - - env.get('cleanup.purge.line.menu').purge() - + records.purge() diff --git a/database_cleanup/views/purge_models.xml b/database_cleanup/views/purge_models.xml index b0dfa7e0d..9f3d4aade 100644 --- a/database_cleanup/views/purge_models.xml +++ b/database_cleanup/views/purge_models.xml @@ -33,9 +33,7 @@ ir.actions.server code - - env.get('cleanup.purge.line.model').purge() - + records.purge() diff --git a/database_cleanup/views/purge_modules.xml b/database_cleanup/views/purge_modules.xml index 549563a96..dc8ee7027 100644 --- a/database_cleanup/views/purge_modules.xml +++ b/database_cleanup/views/purge_modules.xml @@ -33,9 +33,7 @@ ir.actions.server code - - env.get('cleanup.purge.line.module').purge() - + records.purge() diff --git a/database_cleanup/views/purge_properties.xml b/database_cleanup/views/purge_properties.xml index f1a472293..16bb988fc 100644 --- a/database_cleanup/views/purge_properties.xml +++ b/database_cleanup/views/purge_properties.xml @@ -33,7 +33,7 @@ ir.actions.server code - env.get('cleanup.purge.line.property').purge() + records.purge() diff --git a/database_cleanup/views/purge_tables.xml b/database_cleanup/views/purge_tables.xml index d7d5a849f..80cff1fee 100644 --- a/database_cleanup/views/purge_tables.xml +++ b/database_cleanup/views/purge_tables.xml @@ -33,9 +33,7 @@ ir.actions.server code - - env.get('cleanup.purge.line.table').purge() - + records.purge()