mirror of
https://github.com/moodle/moodle.git
synced 2025-03-21 08:00:37 +01:00
Merge branch 'MDL-71639-fix' of github.com:sarjona/moodle
This commit is contained in:
commit
bf87572e0c
@ -277,9 +277,9 @@ print_collapsible_region_end();
|
||||
|
||||
// Output a link to export this single question.
|
||||
if (question_has_capability_on($question, 'view')) {
|
||||
if (class_exists('qbank_exporttoxml\\exporttoxml_helper')) {
|
||||
if (class_exists('qbank_exporttoxml\\helper')) {
|
||||
if (\core\plugininfo\qbank::is_plugin_enabled('qbank_exporttoxml')) {
|
||||
$exportfunction = '\\qbank_exporttoxml\\exporttoxml_helper::question_get_export_single_question_url';
|
||||
$exportfunction = '\\qbank_exporttoxml\\helper::question_get_export_single_question_url';
|
||||
echo html_writer::link($exportfunction($question),
|
||||
get_string('exportonequestion', 'question'));
|
||||
}
|
||||
|
@ -11,7 +11,7 @@ This files describes API changes for code that uses the question API.
|
||||
|
||||
2) Function question_get_export_single_question_url() in questionlib has been deprecated
|
||||
and moved to qbank_exporttoxml plugin, the new location is:
|
||||
qbank_exporttoxml\exporttoxml_helper::question_get_export_single_question_url().
|
||||
qbank_exporttoxml\helper::question_get_export_single_question_url().
|
||||
|
||||
=== 3.9 ==
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user