mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 11:13:59 +02:00
[ticket/9874] view_log() performs unneeded count query over all log entries.
PHPBB3-9874
This commit is contained in:
@@ -350,7 +350,7 @@ function mcp_front_view($id, $mode, $action)
|
||||
// Add forum_id 0 for global announcements
|
||||
$forum_list[] = 0;
|
||||
|
||||
$log_count = 0;
|
||||
$log_count = false;
|
||||
$log = array();
|
||||
view_log('mod', $log, $log_count, 5, 0, $forum_list);
|
||||
|
||||
|
Reference in New Issue
Block a user