aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/include/functions.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index e67925073..d7369ddf0 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -114,11 +114,16 @@ DELETE FROM '.CATEGORIES_TABLE.'
;';
pwg_query($query);
- $query='
+ $query='
DELETE FROM '.OLD_PERMALINKS_TABLE.'
WHERE cat_id IN ('.implode(',',$ids).')';
pwg_query($query);
+ $query='
+DELETE FROM '.USER_CACHE_CATEGORIES_TABLE.'
+ WHERE cat_id IN ('.implode(',',$ids).')';
+ pwg_query($query);
+
trigger_action('delete_categories', $ids);
}