mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
8760a1fd51
1 changed files with 11 additions and 1 deletions
|
@ -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)
|
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;
|
static $forum_rows;
|
||||||
|
|
||||||
if (!isset($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;
|
return $rowset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue