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:
8b88ba4
)
MDL-48962 mod_lesson: New lesson should not be timed
author
Rajesh Taneja
<rajesh@moodle.com>
Thu, 5 Mar 2015 06:55:07 +0000
(14:55 +0800)
committer
Rajesh Taneja
<rajesh@moodle.com>
Thu, 5 Mar 2015 06:55:18 +0000
(14:55 +0800)
mod/lesson/mod_form.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/lesson/mod_form.php
b/mod/lesson/mod_form.php
index
b8cc50d
..
d9a92da
100644
(file)
--- a/
mod/lesson/mod_form.php
+++ b/
mod/lesson/mod_form.php
@@
-175,7
+175,6
@@
class mod_lesson_mod_form extends moodleform_mod {
$mform->addElement('duration', 'timelimit', get_string('timelimit', 'lesson'),
array('optional' => true));
$mform->addHelpButton('timelimit', 'timelimit', 'lesson');
- $mform->setDefault('timelimit', 1200);
$mform->addElement('selectyesno', 'usepassword', get_string('usepassword', 'lesson'));
$mform->addHelpButton('usepassword', 'usepassword', 'lesson');