From 67b49f27a41bfad9b9676580484c90428e236407 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 25 Oct 2016 08:39:36 +0800 Subject: [PATCH] MDL-56516 tool_usertours: Adjust tour query for MySQL --- admin/tool/usertours/classes/cache.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/admin/tool/usertours/classes/cache.php b/admin/tool/usertours/classes/cache.php index 6c81a0ae633..cefc7794d65 100644 --- a/admin/tool/usertours/classes/cache.php +++ b/admin/tool/usertours/classes/cache.php @@ -61,10 +61,8 @@ class cache { $sql = << 0 + AND t.id IN (SELECT s.tourid FROM {tool_usertours_steps} s GROUP BY s.tourid) ORDER BY t.sortorder ASC EOF;