aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-07-17 15:54:15 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-07-17 15:54:15 +0200
commitd3f017c149bba070c6392d9f86de360653b2594c (patch)
tree13951ea72881ea76ae5a629edd92d7a4babb97ae /phpBB/includes/functions_admin.php
parente4aa8806b9578ce04fa69b42b7740fb0d32aeaa1 (diff)
parent78a0d10a5ac357a5131c3bcc983019e4a98db496 (diff)
downloadforums-d3f017c149bba070c6392d9f86de360653b2594c.tar
forums-d3f017c149bba070c6392d9f86de360653b2594c.tar.gz
forums-d3f017c149bba070c6392d9f86de360653b2594c.tar.bz2
forums-d3f017c149bba070c6392d9f86de360653b2594c.tar.xz
forums-d3f017c149bba070c6392d9f86de360653b2594c.zip
Merge branch '3.1.x' into 3.2.x
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 57fa72b5d7..5cf65e04ba 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -204,7 +204,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))
@@ -259,6 +259,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;
}