MDL-73598 reportbuilder: feature switch for custom reports.

This commit is contained in:
Paul Holden
2022-01-19 23:20:52 +00:00
parent a01f1fa71c
commit 335012580b
6 changed files with 105 additions and 8 deletions
+6
View File
@@ -64,6 +64,12 @@ if ($hassiteconfig) { // speedup for non-admins, add all caps used on this page
1)
);
$optionalsubsystems->add(new admin_setting_configcheckbox('enablecustomreports',
new lang_string('enablecustomreports', 'core_reportbuilder'),
new lang_string('enablecustomreports_desc', 'core_reportbuilder'),
1
));
$fullunicodesupport = true;
if ($DB->get_dbfamily() == 'mysql') {
$collation = $DB->get_dbcollation();