diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-05-22 03:08:39 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-05-22 03:08:39 +0200 |
commit | efbf14f029b7e6a1724fb1c5aa32294eb33017bc (patch) | |
tree | 11b83444f1938da9531613f0c05873affccf6632 /phpBB/includes | |
parent | 86fa185a1ba4754b6c2dc9769b826aa9d57aa148 (diff) | |
download | forums-efbf14f029b7e6a1724fb1c5aa32294eb33017bc.tar forums-efbf14f029b7e6a1724fb1c5aa32294eb33017bc.tar.gz forums-efbf14f029b7e6a1724fb1c5aa32294eb33017bc.tar.bz2 forums-efbf14f029b7e6a1724fb1c5aa32294eb33017bc.tar.xz forums-efbf14f029b7e6a1724fb1c5aa32294eb33017bc.zip |
[ticket/10565] update_forum_tracking_info(): Remove unnecessary GROUP BY clause
PHPBB3-10565
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index ce80dc4a66..b415b2742d 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1924,8 +1924,7 @@ function update_forum_tracking_info($forum_id, $forum_last_post_time, $f_mark_ti AND t.topic_last_post_time > ' . $mark_time_forum . ' AND t.topic_moved_id = 0 ' . $sql_update_unapproved . ' - AND (tt.topic_id IS NULL OR tt.mark_time < t.topic_last_post_time) - GROUP BY t.forum_id'; + AND (tt.topic_id IS NULL OR tt.mark_time < t.topic_last_post_time)'; $result = $db->sql_query_limit($sql, 1); $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); |