aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-08-21 11:27:28 -0400
committerDavid King <imkingdavid@gmail.com>2012-08-21 11:27:28 -0400
commitc0cd1fcb4f42e373dad6317ec85fe33474079de2 (patch)
tree0b41ecd1b7148b93d269d75c0e0641e1cb6ac384
parent6c6b179dd4b239030891fcc3b72472fbf4f78bc9 (diff)
downloadforums-c0cd1fcb4f42e373dad6317ec85fe33474079de2.tar
forums-c0cd1fcb4f42e373dad6317ec85fe33474079de2.tar.gz
forums-c0cd1fcb4f42e373dad6317ec85fe33474079de2.tar.bz2
forums-c0cd1fcb4f42e373dad6317ec85fe33474079de2.tar.xz
forums-c0cd1fcb4f42e373dad6317ec85fe33474079de2.zip
[feature/add_events] Change alter -> modify in event name
PHPBB3-9550
-rw-r--r--phpBB/includes/functions_content.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index 1638b5c1c6..b1f9cf4434 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -1263,7 +1263,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '',
/**
* Use this event to change the output of get_username_string()
*
- * @event core.alter_username_string
+ * @event core.modify_username_string
* @var string mode profile|username|colour|full|no_profile
* @var int user_id String or array of additional url
* parameters
@@ -1278,7 +1278,7 @@ function get_username_string($mode, $user_id, $username, $username_colour = '',
* @since 3.1-A1
*/
$vars = array('mode', 'user_id', 'username', 'username_colour', 'guest_username', 'custom_profile_url', 'username_string');
- extract($phpbb_dispatcher->trigger_event('core.alter_username_string', compact($vars)));
+ extract($phpbb_dispatcher->trigger_event('core.modify_username_string', compact($vars)));
return $username_string;
}