Fix deprecated function

Signed-off-by: semteacher <semteacher@gmail.com>
Merge branch '01_allowmulticourseappointment' into 02_addsession-aperiodic
Merge branch '02_addsession-aperiodic' into 03_student_notes

Conflicts resolution OK:
	mod_form.php
correct mistake in namespace:
add_session and add_aperiodic_session function an extra one parameters added - $defaultslotduration with $scheduler->defaultslotduration value on functions recalled

Signed-off-by: semteacher <semteacher@gmail.com>
Merge branch '02_addsession-aperiodic' into 03_student_notes
Merge branch '03_student_notes' into 04-tdmu_defaults

Conflicts:
	mod_form.php
	teacherview.php

Signed-off-by: semteacher <semteacher@gmail.com>