1
0
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:
Joas Schilling
2011-02-24 23:51:42 +01:00
parent 5e2bbdb22b
commit a25238e0c1
4 changed files with 18 additions and 14 deletions

View File

@@ -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);