mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
MDL-29627 quiz old popup int column => new browsersecurity column.
The new column store more meaningful string constants.
This commit is contained in:
parent
0eafc98852
commit
4344c5d5d9
15 changed files with 170 additions and 46 deletions
|
@ -116,7 +116,7 @@ class quiz_access_manager {
|
|||
* @return array key => lang string.
|
||||
*/
|
||||
public static function get_browser_security_choices() {
|
||||
$options = array(0 => get_string('none', 'quiz'));
|
||||
$options = array('-' => get_string('none', 'quiz'));
|
||||
foreach (self::get_rule_classes() as $rule) {
|
||||
$options += $rule::get_browser_security_choices();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue