1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-25 02:51:35 +02:00

[feature/prune-users] Cosmetic changes per bantu's review.

PHPBB3-9622
This commit is contained in:
Oleg Pudeyev
2012-03-25 20:56:00 -04:00
parent a1fee699dd
commit 15d2f294c6
2 changed files with 7 additions and 7 deletions

View File

@@ -333,7 +333,8 @@ class acp_prune
}
$s_group_list = '';
$sql = 'SELECT group_id, group_name FROM ' . GROUPS_TABLE . '
$sql = 'SELECT group_id, group_name
FROM ' . GROUPS_TABLE . '
WHERE group_type <> ' . GROUP_SPECIAL . '
ORDER BY group_name ASC';
$result = $db->sql_query($sql);
@@ -403,7 +404,7 @@ class acp_prune
// so that our time range is a full day instead of 1 second
if ($joined_after == $joined_before)
{
$joined_after[2] += 1; //$joined_after[2]++;
$joined_after[2] += 1;
}
$joined_sql = ' AND user_regdate BETWEEN ' . gmmktime(0, 0, 0, (int) $joined_after[1], (int) $joined_after[2], (int) $joined_after[0]) . ' AND ' . gmmktime(0, 0, 0, (int) $joined_before[1], (int) $joined_before[2], (int) $joined_before[0]);