Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
a821983e
Commit
a821983e
authored
Jun 27, 2011
by
Jamie Pratt
Browse files
MDL-47494 gapselect: NOBUG noticed use of deprecated database function.
parent
a2d6ea7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
question/type/gapselect/questiontypebase.php
View file @
a821983e
...
...
@@ -84,7 +84,7 @@ abstract class qtype_gapselect_base extends question_type {
// Delete old answer records
foreach
(
$oldanswers
as
$oa
)
{
delete_records
(
'question_answers'
,
'id'
,
$oa
->
id
);
$DB
->
delete_records
(
'question_answers'
,
array
(
'id'
=>
$oa
->
id
)
)
;
}
$options
=
$DB
->
get_record
(
'question_'
.
$this
->
name
(),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment