1
0
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:
Cameron
2015-05-22 15:37:46 -07:00
parent 392acf19bf
commit 03ab8b867e
5 changed files with 96 additions and 26 deletions

View File

@@ -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)