MDL-35339 coding style corrections

This commit is contained in:
Marina Glancy 2012-10-15 16:57:25 +08:00
parent 2e4c0d05e1
commit 44aa854e93
5 changed files with 5 additions and 5 deletions

View file

@ -2741,7 +2741,7 @@ function course_create_sections_if_missing($courseorid, $sections) {
* end of the section
* @return int The course_sections ID where the module is inserted
*/
function course_add_cm_to_section($courseorid, $modid, $sectionnum, $beforemod = NULL) {
function course_add_cm_to_section($courseorid, $modid, $sectionnum, $beforemod = null) {
global $DB, $COURSE;
if (is_object($beforemod)) {
$beforemod = $beforemod->id;