From 6fc11184e7d2fd2a46d915738ae7f686c8547433 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Thu, 16 Dec 2010 02:59:38 +0100 Subject: [feature/system-cron] Adjust SQL query style to follow coding guidelines. PHPBB3-9596 --- phpBB/includes/cron/task/core/prune_all_forums.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/cron/task/core') diff --git a/phpBB/includes/cron/task/core/prune_all_forums.php b/phpBB/includes/cron/task/core/prune_all_forums.php index 44b04611d5..2e6f2444d3 100644 --- a/phpBB/includes/cron/task/core/prune_all_forums.php +++ b/phpBB/includes/cron/task/core/prune_all_forums.php @@ -40,7 +40,8 @@ class phpbb_cron_task_core_prune_all_forums extends phpbb_cron_task_base $sql = 'SELECT forum_id, prune_next, enable_prune, prune_days, prune_viewed, forum_flags, prune_freq FROM ' . FORUMS_TABLE . " - WHERE enable_prune = 1 and prune_next < " . time(); + WHERE enable_prune = 1 + AND prune_next < " . time(); $result = $db->sql_query($sql); while ($row = $db->sql_fetchrow($result)) { -- cgit v1.2.1