diff options
author | omniError <omniError@github> | 2014-11-11 10:47:39 -0600 |
---|---|---|
committer | omniError <omniError@github> | 2014-11-11 10:47:39 -0600 |
commit | b648d3eb4c00aca936274978a427473aaa98138f (patch) | |
tree | 6049bff03a6415b1443c39da72962b8463b9f2ab | |
parent | 71e0de5588b6cbd732e2d640ad1eb21d539ae9d9 (diff) | |
download | forums-b648d3eb4c00aca936274978a427473aaa98138f.tar forums-b648d3eb4c00aca936274978a427473aaa98138f.tar.gz forums-b648d3eb4c00aca936274978a427473aaa98138f.tar.bz2 forums-b648d3eb4c00aca936274978a427473aaa98138f.tar.xz forums-b648d3eb4c00aca936274978a427473aaa98138f.zip |
[ticket/13328] fix CS
https://tracker.phpbb.com/browse/PHPBB3-13328
PHPBB3-13328
-rw-r--r-- | phpBB/includes/mcp/mcp_forum.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/phpBB/includes/mcp/mcp_forum.php b/phpBB/includes/mcp/mcp_forum.php index b18edbd139..c18ca1aa1d 100644 --- a/phpBB/includes/mcp/mcp_forum.php +++ b/phpBB/includes/mcp/mcp_forum.php @@ -166,20 +166,20 @@ function mcp_forum_view($id, $mode, $action, $forum_info) $limit_time_sql ORDER BY t.topic_type DESC, $sort_order_sql"; - /** - * Modify SQL query before MCP forum view topic list is queried - * - * @event core.mcp_view_forum_modify_sql - * @var string sql SQL query for forum view topic list - * @var int forum_id ID of the forum - * @var string limit_time_sql SQL query part for limit time - * @var string sort_order_sql SQL query part for sort order - * @var int topics_per_page Number of topics per page - * @var int start Start value - * @since 3.1.2-RC1 - */ - $vars = array('sql', 'forum_id', 'limit_time_sql', 'sort_order_sql', 'topics_per_page', 'start'); - extract($phpbb_dispatcher->trigger_event('core.mcp_view_forum_modify_sql', compact($vars))); + /** + * Modify SQL query before MCP forum view topic list is queried + * + * @event core.mcp_view_forum_modify_sql + * @var string sql SQL query for forum view topic list + * @var int forum_id ID of the forum + * @var string limit_time_sql SQL query part for limit time + * @var string sort_order_sql SQL query part for sort order + * @var int topics_per_page Number of topics per page + * @var int start Start value + * @since 3.1.2-RC1 + */ + $vars = array('sql', 'forum_id', 'limit_time_sql', 'sort_order_sql', 'topics_per_page', 'start'); + extract($phpbb_dispatcher->trigger_event('core.mcp_view_forum_modify_sql', compact($vars))); $result = $db->sql_query_limit($sql, $topics_per_page, $start); |