[PHP] core.acl_clear_prefetch

Request hook events and what data needs to be sent for the new hook system.
Post Reply
KillBill.
Registered User
Posts: 20
Joined: Wed Feb 11, 2015 6:07 am

[PHP] core.acl_clear_prefetch

Post by KillBill. » Thu Feb 12, 2015 9:42 pm

  • Identifer: core.acl_clear_prefetch
    Location: phpbb/auth/auth.php
    Parameters: Parameters: $user_id
    Explanation: phpBB Arcade clear auth
Example:

Code: Select all

		$sql = 'UPDATE ' . USERS_TABLE . "
			SET user_permissions = '',
				user_perm_from = 0
			$where_sql";
		$db->sql_query($sql);


		$vars = array('user_id');
		extract($phpbb_dispatcher->trigger_event('core.acl_clear_prefetch', compact($vars)));
Ticket :: https://tracker.phpbb.com/browse/PHPBB3-13601

Post Reply