1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-17 22:11:26 +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

@@ -529,7 +529,7 @@ class acp_main
);
$log_data = array();
$log_count = 0;
$log_count = false;
if ($auth->acl_get('a_viewlogs'))
{