mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Issue #1015 - Possible forum edit/view access cache issue corrected. New-Topic and Post-Reply buttons now use the new SEF urls.
This commit is contained in:
@@ -362,6 +362,7 @@ if(!deftrue('OLD_FORUMADMIN'))
|
||||
public function afterCreate($new_data, $old_data, $id)
|
||||
{
|
||||
// do something
|
||||
e107::getCache()->clear_sys('forum_perms');
|
||||
}
|
||||
|
||||
public function onCreateError($new_data, $old_data)
|
||||
@@ -385,6 +386,14 @@ if(!deftrue('OLD_FORUMADMIN'))
|
||||
public function afterUpdate($new_data, $old_data, $id)
|
||||
{
|
||||
// do something
|
||||
e107::getCache()->clear_sys('forum_perms');
|
||||
|
||||
}
|
||||
|
||||
|
||||
public function afterDelete($del_data,$id)
|
||||
{
|
||||
e107::getCache()->clear_sys('forum_perms');
|
||||
}
|
||||
|
||||
public function onUpdateError($new_data, $old_data, $id)
|
||||
|
Reference in New Issue
Block a user