mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
parent
632e434711
commit
8c268193ba
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user