MDL-35339 deprecate get_course_section() replace with course_create_sections_if_missing()
authorMarina Glancy <marina@moodle.com>
Mon, 8 Oct 2012 02:36:01 +0000 (10:36 +0800)
committerMarina Glancy <marina@moodle.com>
Mon, 15 Oct 2012 06:08:14 +0000 (14:08 +0800)
commit4ede27b253ca58f08d1b6f0c8823c76ad38d433a
treeee8bd34d021d39e5ea0a165c9e6439ee8b67e12e
parent97960146607749f6edb011ce002d1935247ee0b0
MDL-35339 deprecate get_course_section() replace with course_create_sections_if_missing()

By passing course object instead of course id we ensure proper cache reset"
blocks/site_main_menu/block_site_main_menu.php
course/format/topics/format.php
course/format/weeks/format.php
course/lib.php
course/modedit.php
course/view.php
enrol/imsenterprise/lib.php
index.php
lib/deprecatedlib.php