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
dd9ae7a0
Commit
dd9ae7a0
authored
Jun 27, 2011
by
Jamie Pratt
Committed by
Tim Hunt
Jul 05, 2011
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 @
dd9ae7a0
...
...
@@ -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