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
(from parent 1:
2088c22
)
Merge branch 'MDL-51128-master' of git://github.com/junpataleta/moodle
author
Dan Poltawski
<dan@moodle.com>
Mon, 2 Nov 2015 14:07:10 +0000
(14:07 +0000)
committer
Dan Poltawski
<dan@moodle.com>
Mon, 2 Nov 2015 14:07:10 +0000
(14:07 +0000)
admin/tool/generator/classes/course_backend.php
patch
|
blob
|
blame
|
history
diff --git
a/admin/tool/generator/classes/course_backend.php
b/admin/tool/generator/classes/course_backend.php
index
2c2ca85
..
0219ebe
100644
(file)
--- a/
admin/tool/generator/classes/course_backend.php
+++ b/
admin/tool/generator/classes/course_backend.php
@@
-253,7
+253,8
@@
class tool_generator_course_backend extends tool_generator_backend {
$courserecord = array(
'shortname' => $this->shortname,
'fullname' => $this->fullname,
- 'numsections' => self::$paramsections[$this->size]
+ 'numsections' => self::$paramsections[$this->size],
+ 'startdate' => usergetmidnight(time())
);
if (strlen($this->summary) > 0) {
$courserecord['summary'] = $this->summary;