Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
753d681
)
MDL-50198 quiz: password should be non-advanced by default
author
Tim Hunt
<T.J.Hunt@open.ac.uk>
Mon, 11 May 2015 14:44:46 +0000
(15:44 +0100)
committer
Tim Hunt
<T.J.Hunt@open.ac.uk>
Mon, 11 May 2015 15:19:30 +0000
(16:19 +0100)
So the Extra restrictions form section is not empty by default.
mod/quiz/settings.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/quiz/settings.php
b/mod/quiz/settings.php
index
d84652a
..
aa246db
100644
(file)
--- a/
mod/quiz/settings.php
+++ b/
mod/quiz/settings.php
@@
-183,7
+183,7
@@
if ($ADMIN->fulltree) {
// Password.
$quizsettings->add(new admin_setting_configtext_with_advanced('quiz/password',
get_string('requirepassword', 'quiz'), get_string('configrequirepassword', 'quiz'),
- array('value' => '', 'adv' =>
tru
e), PARAM_TEXT));
+ array('value' => '', 'adv' =>
fals
e), PARAM_TEXT));
// IP restrictions.
$quizsettings->add(new admin_setting_configtext_with_advanced('quiz/subnet',