Index: trunk/extensions/EducationProgram/maintenance/importWEPData.php |
— | — | @@ -119,11 +119,19 @@ |
120 | 120 | foreach ( $courses as $course => $org ) { |
121 | 121 | $name = $course; |
122 | 122 | |
| 123 | + $start = wfTimestamp( TS_MW ); |
| 124 | + $end = wfTimestamp( TS_MW ); |
| 125 | + $start{3} = '1'; |
| 126 | + $end{3} = '3'; |
| 127 | + |
123 | 128 | $course = EPCourses::singleton()->newFromArray( |
124 | 129 | array( |
125 | 130 | 'org_id' => $orgs[$org], |
126 | 131 | 'name' => $course, |
127 | 132 | 'mc' => $course, |
| 133 | + 'start' => $start, |
| 134 | + 'end' => $end, |
| 135 | + 'lang' => 'en', |
128 | 136 | ), |
129 | 137 | true |
130 | 138 | ); |