diff options
author | Oleg Pudeyev <oleg@bsdpower.com> | 2012-03-25 20:56:00 -0400 |
---|---|---|
committer | Oleg Pudeyev <oleg@bsdpower.com> | 2012-03-25 20:56:00 -0400 |
commit | 15d2f294c664e11fb1f2bc84238067cf71a544e6 (patch) | |
tree | 7db1a1f4d6f11e1e502cb5d8d350c4d7964ce800 /phpBB/includes/acp/acp_prune.php | |
parent | a1fee699dda3d28b22a5b18f8940c104b5e441d8 (diff) | |
download | forums-15d2f294c664e11fb1f2bc84238067cf71a544e6.tar forums-15d2f294c664e11fb1f2bc84238067cf71a544e6.tar.gz forums-15d2f294c664e11fb1f2bc84238067cf71a544e6.tar.bz2 forums-15d2f294c664e11fb1f2bc84238067cf71a544e6.tar.xz forums-15d2f294c664e11fb1f2bc84238067cf71a544e6.zip |
[feature/prune-users] Cosmetic changes per bantu's review.
PHPBB3-9622
Diffstat (limited to 'phpBB/includes/acp/acp_prune.php')
-rw-r--r-- | phpBB/includes/acp/acp_prune.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_prune.php b/phpBB/includes/acp/acp_prune.php index b10eb292d2..145c0c3854 100644 --- a/phpBB/includes/acp/acp_prune.php +++ b/phpBB/includes/acp/acp_prune.php @@ -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]); |