MDL-23234 finally standardised use of settings.php across all plugins - the only partial exceptions now are report and local plugins

This commit is contained in:
Petr Skoda
2010-07-13 13:56:55 +00:00
parent bf36ee9b2b
commit dbf9e4bae3
47 changed files with 760 additions and 667 deletions
+5 -3
View File
@@ -1,8 +1,10 @@
<?php //$Id$
<?php
defined('MOODLE_INTERNAL') || die;
if ($ADMIN->fulltree) {
$options = array(0=>get_string('no'), 1=>get_string('yes'));
$str = get_string('configallowfullanonymous', 'feedback');
$settings->add(new admin_setting_configselect('feedback_allowfullanonymous', get_string('allowfullanonymous', 'feedback'),
$str, 0, $options));
?>
}