1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-26 09:44:26 +02:00

[feature/soft-delete] Fix some more topic/post count handling

Only disapproving in queue is missing.

PHPBB3-9567
This commit is contained in:
Joas Schilling
2012-10-23 15:30:52 +02:00
parent fec72c4b78
commit 43e6b3a921
4 changed files with 9 additions and 20 deletions

View File

@@ -229,8 +229,6 @@ $s_limit_days = $s_sort_key = $s_sort_dir = $u_sort_param = '';
gen_sort_selects($limit_days, $sort_by_text, $sort_days, $sort_key, $sort_dir, $s_limit_days, $s_sort_key, $s_sort_dir, $u_sort_param, $default_sort_days, $default_sort_key, $default_sort_dir);
// Limit topics to certain time frame, obtain correct topic count
// global announcements must not be counted, normal announcements have to
// be counted, as forum_topics(_real) includes them
if ($sort_days)
{
$min_post_time = time() - ($sort_days * 86400);