aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/auth/auth.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/phpBB/phpbb/auth/auth.php b/phpBB/phpbb/auth/auth.php
index fc7cc1a0b1..dbd83f1eb0 100644
--- a/phpBB/phpbb/auth/auth.php
+++ b/phpBB/phpbb/auth/auth.php
@@ -514,7 +514,7 @@ class auth
*/
function acl_clear_prefetch($user_id = false)
{
- global $db, $cache;
+ global $db, $cache, $phpbb_dispatcher;
// Rebuild options cache
$cache->destroy('_role_cache');
@@ -553,6 +553,16 @@ class auth
$where_sql";
$db->sql_query($sql);
+ /**
+ * Event is triggered after user(s) permission settings cache has been cleared
+ *
+ * @event core.acl_clear_prefetch_after
+ * @var mixed user_id User ID(s)
+ * @since 3.1.11-RC1
+ */
+ $vars = array('user_id');
+ extract($phpbb_dispatcher->trigger_event('core.acl_clear_prefetch_after', compact($vars)));
+
return;
}
'get'>
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-04 12:43:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-04 12:43:27 +0000
commit5f14093229564196ffa2a3ad63c6f6d279fc8f79 (patch)
tree25340af3a5e96be5fe811290214d2c2609099f45 /perl-install/ChangeLog
parente5d2c05ffabb6c14fc6840e658f8c92155a052e7 (diff)
downloaddrakx-5f14093229564196ffa2a3ad63c6f6d279fc8f79.tar
drakx-5f14093229564196ffa2a3ad63c6f6d279fc8f79.tar.gz
drakx-5f14093229564196ffa2a3ad63c6f6d279fc8f79.tar.bz2
drakx-5f14093229564196ffa2a3ad63c6f6d279fc8f79.tar.xz
drakx-5f14093229564196ffa2a3ad63c6f6d279fc8f79.zip