mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 11:56:40 +02:00
MDL-79863 qtype_ordering: qtype/ordering allow images to embedded in question text and feedback
This commit is contained in:
parent
9dc9201b2c
commit
fddcb15d8e
2 changed files with 4 additions and 4 deletions
|
@ -239,7 +239,7 @@ class qtype_ordering_question extends question_graded_automatically {
|
||||||
return array($fraction, question_state::graded_state_for_fraction($fraction));
|
return array($fraction, question_state::graded_state_for_fraction($fraction));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function check_file_access($qa, $ordering, $component, $filearea, $args, $forcedownload) {
|
public function check_file_access($qa, $options, $component, $filearea, $args, $forcedownload) {
|
||||||
// do nothing
|
return parent::check_file_access($qa, $options, $component, $filearea, $args, $forcedownload);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,6 @@ defined('MOODLE_INTERNAL') || die();
|
||||||
$plugin->cron = 0;
|
$plugin->cron = 0;
|
||||||
$plugin->component = 'qtype_ordering';
|
$plugin->component = 'qtype_ordering';
|
||||||
$plugin->maturity = MATURITY_STABLE; // ALPHA=50, BETA=100, RC=150, STABLE=200
|
$plugin->maturity = MATURITY_STABLE; // ALPHA=50, BETA=100, RC=150, STABLE=200
|
||||||
$plugin->release = '2014-12-08 (06)';
|
$plugin->release = '2014-12-19 (07)';
|
||||||
$plugin->version = 2014120806;
|
$plugin->version = 2014121907;
|
||||||
$plugin->requires = 2010112400; // Moodle 2.0
|
$plugin->requires = 2010112400; // Moodle 2.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue