mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-35339 coding style corrections
This commit is contained in:
parent
2e4c0d05e1
commit
44aa854e93
5 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue