Merge branch 'wip-MDL-37976-MOODLE_24_STABLE' of git://github.com/marinaglancy/moodle into MOODLE_24_STABLE

This commit is contained in:
Dan Poltawski
2013-02-12 16:13:55 +08:00
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -336,6 +336,7 @@ class format_legacy extends format_base {
* @return bool whether there were any changes to the options values
*/
public function update_course_format_options($data, $oldcourse = null) {
global $DB;
if ($oldcourse !== null) {
$data = (array)$data;
$oldcourse = (array)$oldcourse;
+1
View File
@@ -271,6 +271,7 @@ class format_topics extends format_base {
* @return bool whether there were any changes to the options values
*/
public function update_course_format_options($data, $oldcourse = null) {
global $DB;
if ($oldcourse !== null) {
$data = (array)$data;
$oldcourse = (array)$oldcourse;
+1
View File
@@ -276,6 +276,7 @@ class format_weeks extends format_base {
* @return bool whether there were any changes to the options values
*/
public function update_course_format_options($data, $oldcourse = null) {
global $DB;
if ($oldcourse !== null) {
$data = (array)$data;
$oldcourse = (array)$oldcourse;