diff options
author | rxu <rxu@mail.ru> | 2016-07-17 12:40:21 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2016-07-17 12:40:21 +0700 |
commit | a840d70bbf940af53347e954ea936dd7f416eeb6 (patch) | |
tree | 4f2c9db440424fca898f5d8de25b3d516afccf52 /phpBB/includes/functions_admin.php | |
parent | b54aa81cdd4e55daf9537c9dde93d4fc9d1396be (diff) | |
download | forums-a840d70bbf940af53347e954ea936dd7f416eeb6.tar forums-a840d70bbf940af53347e954ea936dd7f416eeb6.tar.gz forums-a840d70bbf940af53347e954ea936dd7f416eeb6.tar.bz2 forums-a840d70bbf940af53347e954ea936dd7f416eeb6.tar.xz forums-a840d70bbf940af53347e954ea936dd7f416eeb6.zip |
[ticket/14713] Add core event to the admin function get_forum_list()
PHPBB3-14713
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 7d52491086..9c543eaac6 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -201,7 +201,7 @@ function group_select_options($group_id, $exclude_ids = false, $manage_founder = */ function get_forum_list($acl_list = 'f_list', $id_only = true, $postable_only = false, $no_cache = false) { - global $db, $auth; + global $db, $auth, $phpbb_dispatcher; static $forum_rows; if (!isset($forum_rows)) @@ -256,6 +256,16 @@ function get_forum_list($acl_list = 'f_list', $id_only = true, $postable_only = } } + /** + * Modify the forum list data + * + * @event core.get_forum_list_modify_data + * @var array rowset Array with the forum list data + * @since 3.1.10-RC1 + */ + $vars = array('rowset'); + extract($phpbb_dispatcher->trigger_event('core.get_forum_list_modify_data', compact($vars))); + return $rowset; } |