mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
Merge branch 'MDL-55565-master' of https://github.com/snake/moodle
This commit is contained in:
commit
42def6ef5c
1 changed files with 1 additions and 1 deletions
|
@ -795,7 +795,7 @@ abstract class restore_dbops {
|
||||||
// Prepare the query
|
// Prepare the query
|
||||||
list($stamp_sql, $stamp_params) = $DB->get_in_or_equal($stamps);
|
list($stamp_sql, $stamp_params) = $DB->get_in_or_equal($stamps);
|
||||||
list($context_sql, $context_params) = $DB->get_in_or_equal($contexts);
|
list($context_sql, $context_params) = $DB->get_in_or_equal($contexts);
|
||||||
$sql = "SELECT contextid
|
$sql = "SELECT DISTINCT contextid
|
||||||
FROM {question_categories}
|
FROM {question_categories}
|
||||||
WHERE stamp $stamp_sql
|
WHERE stamp $stamp_sql
|
||||||
AND contextid $context_sql";
|
AND contextid $context_sql";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue