From 26d40077fbf8c162e68bd08ebcb95a102389cd0a Mon Sep 17 00:00:00 2001 From: Gordon Bateson Date: Mon, 2 May 2016 08:15:47 +0900 Subject: [PATCH] MDL-79863 qtype_ordering: qtype_ordering add missing settings.php from recent merge --- question/type/ordering/settings.php | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 question/type/ordering/settings.php diff --git a/question/type/ordering/settings.php b/question/type/ordering/settings.php new file mode 100644 index 00000000000..6753061a9ae --- /dev/null +++ b/question/type/ordering/settings.php @@ -0,0 +1,31 @@ +. + +/** + * ORDERING question settings page. + * + * @package qtype + * @subpackage ordering + * @copyright 2016 Vadim Dvorovenko + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + */ + +defined('MOODLE_INTERNAL') || die; + +if ($ADMIN->fulltree) { + $settings->add(new admin_setting_configselect('qtype_ordering/defaultanswerformat', + get_string('defaultanswerformat', 'qtype_ordering'), '', FORMAT_MOODLE, format_text_menu())); +}