diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-08-30 22:57:00 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-30 22:57:00 +0200 |
commit | c03d692a98fafa921a832e063c76a3d844632ca7 (patch) | |
tree | 68111ed107e013d0264a87fce0826fd5706e3167 /phpBB/includes/functions_admin.php | |
parent | 625e7ef58aab1b2d61505f756d53c7d85d9f2d2b (diff) | |
download | forums-c03d692a98fafa921a832e063c76a3d844632ca7.tar forums-c03d692a98fafa921a832e063c76a3d844632ca7.tar.gz forums-c03d692a98fafa921a832e063c76a3d844632ca7.tar.bz2 forums-c03d692a98fafa921a832e063c76a3d844632ca7.tar.xz forums-c03d692a98fafa921a832e063c76a3d844632ca7.zip |
[feature/soft-delete] Fix some more usages of _approved column names
PHPBB3-9657
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index 328c8e9778..54130df935 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -1882,7 +1882,7 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = false, $db->sql_freeresult($result); // Use "t" as table alias because of the $where_sql clause - // NOTE: 't.post_approved' in the GROUP BY is causing a major slowdown. + // NOTE: 't.post_visibility' in the GROUP BY is causing a major slowdown. $sql = 'SELECT t.topic_id, t.post_visibility, COUNT(t.post_id) AS total_posts, MIN(t.post_id) AS first_post_id, MAX(t.post_id) AS last_post_id FROM ' . POSTS_TABLE . " t $where_sql |