From 8c268193ba4b96a42b420ab6b096616de5796bb8 Mon Sep 17 00:00:00 2001 From: Jimako Date: Sat, 26 Mar 2022 18:47:59 +0100 Subject: [PATCH] fix for not clearing forum cache Fix #3218 --- e107_plugins/forum/forum_admin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e107_plugins/forum/forum_admin.php b/e107_plugins/forum/forum_admin.php index 699457860..9d299936e 100644 --- a/e107_plugins/forum/forum_admin.php +++ b/e107_plugins/forum/forum_admin.php @@ -370,7 +370,7 @@ e107::css('inline'," public function afterCreate($new_data, $old_data, $id) { // do something - e107::getCache()->clear_sys('forum_perms'); + e107::getCache()->clear('forum_perms'); } public function onCreateError($new_data, $old_data) @@ -404,13 +404,13 @@ e107::css('inline'," public function afterUpdate($new_data, $old_data, $id) { // do something - e107::getCache()->clear_sys('forum_perms',true); + e107::getCache()->clear('forum_perms',true); } public function afterDelete($deleted_data, $id, $deleted_check) { - e107::getCache()->clear_sys('forum_perms'); + e107::getCache()->clear('forum_perms'); } public function onUpdateError($new_data, $old_data, $id)