Skip to content
Snippets Groups Projects
Commit 431bcae2 authored by Matti Harjula's avatar Matti Harjula
Browse files

Fix copy paste error. To stay within a single question-type.

parent 8197907f
No related branches found
No related tags found
No related merge requests found
......@@ -864,7 +864,7 @@ class qtype_stack extends question_type {
}
// If someone plays with input names we need to clear compiledcache.
$sql = 'UPDATE {qtype_stateful_options} SET compiledcache = ? WHERE questionid = ?';
$sql = 'UPDATE {qtype_stack_options} SET compiledcache = ? WHERE questionid = ?';
$params[] = '{}';
$params[] = $questionid;
$DB->execute($sql, $params);
......@@ -909,7 +909,7 @@ class qtype_stack extends question_type {
array('questionid' => $questionid, 'name' => $from));
// If someone plays with PRT names we need to clear compiledcache.
$sql = 'UPDATE {qtype_stateful_options} SET compiledcache = ? WHERE questionid = ?';
$sql = 'UPDATE {qtype_stack_options} SET compiledcache = ? WHERE questionid = ?';
$params[] = '{}';
$params[] = $questionid;
$DB->execute($sql, $params);
......@@ -947,7 +947,7 @@ class qtype_stack extends question_type {
array('questionid' => $questionid, 'name' => $prtname, 'firstnodename' => $from));
// If someone plays with PRT node names we need to clear compiledcache.
$sql = 'UPDATE {qtype_stateful_options} SET compiledcache = ? WHERE questionid = ?';
$sql = 'UPDATE {qtype_stack_options} SET compiledcache = ? WHERE questionid = ?';
$params[] = '{}';
$params[] = $questionid;
$DB->execute($sql, $params);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment