aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorMichael Cullum <unknownbliss@phpbbdevelopers.net>2012-03-31 13:39:41 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-08-01 10:18:44 +0200
commit3f1b4e83aef7f7344cd551463b59de71bb4bd6fe (patch)
tree915fa153259cd7e484d2497709ae6a8f4c05c17a /phpBB/includes/functions_user.php
parent8da33e2654f89e55352012b197dfef4ae7a1fc7e (diff)
downloadforums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.tar
forums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.tar.gz
forums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.tar.bz2
forums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.tar.xz
forums-3f1b4e83aef7f7344cd551463b59de71bb4bd6fe.zip
[feature/events] Removing the third trigger_event parameter
PHPBB3-9550
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index 761ce6436a..cf6a99c2b7 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -138,7 +138,7 @@ function user_update_name($old_name, $new_name)
}
$vars = array('old_name', 'new_name');
- extract($phpbb_dispatcher->trigger_event('core.user_update_name', compact($vars), $vars));
+ extract($phpbb_dispatcher->trigger_event('core.user_update_name', compact($vars)));
// Because some tables/caches use username-specific data we need to purge this here.
$cache->destroy('sql', MODERATOR_CACHE_TABLE);
@@ -539,7 +539,7 @@ function user_delete($mode, $user_id, $post_username = false)
$db->sql_transaction('commit');
$vars = array('mode', 'user_id', 'post_username');
- extract($phpbb_dispatcher->trigger_event('core.user_delete', compact($vars), $vars));
+ extract($phpbb_dispatcher->trigger_event('core.user_delete', compact($vars)));
// Reset newest user info if appropriate
if ($config['newest_user_id'] == $user_id)
@@ -2815,7 +2815,7 @@ function group_delete($group_id, $group_name = false)
unset($teampage);
$vars = array('group_id', 'group_name');
- extract($phpbb_dispatcher->trigger_event('core.group_delete', compact($vars), $vars));
+ extract($phpbb_dispatcher->trigger_event('core.group_delete', compact($vars)));
// Delete group
$sql = 'DELETE FROM ' . GROUPS_TABLE . "
@@ -3049,7 +3049,7 @@ function group_user_del($group_id, $user_id_ary = false, $username_ary = false,
unset($special_group_data);
$vars = array('group_id', 'user_id_ary', 'username_ary', 'group_name');
- extract($phpbb_dispatcher->trigger_event('core.group_user_del', compact($vars), $vars));
+ extract($phpbb_dispatcher->trigger_event('core.group_user_del', compact($vars)));
$sql = 'DELETE FROM ' . USER_GROUP_TABLE . "
WHERE group_id = $group_id
@@ -3465,7 +3465,7 @@ function group_set_user_default($group_id, $user_id_ary, $group_attributes = fal
}
$vars = array('group_id', 'user_id_ary', 'group_attributes', 'update_listing', 'sql_ary');
- extract($phpbb_dispatcher->trigger_event('core.group_set_user_default', compact($vars), $vars));
+ extract($phpbb_dispatcher->trigger_event('core.group_set_user_default', compact($vars)));
if ($update_listing)
{