phpBB

Code Changes

File: phpbb/auth/auth.php

  Unmodified   Added   Modified   Removed
Line 514Line 514
	*/
function acl_clear_prefetch($user_id = false)
{

	*/
function acl_clear_prefetch($user_id = false)
{

		global $db, $cache;

		global $db, $cache, $phpbb_dispatcher;


// Rebuild options cache
$cache->destroy('_role_cache');


// Rebuild options cache
$cache->destroy('_role_cache');

Line 552Line 552
				user_perm_from = 0
$where_sql";
$db->sql_query($sql);

				user_perm_from = 0
$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;
}


return;
}