Skip to content

Commit

Permalink
Merge branch 'wip-MDL-37976-MOODLE_24_STABLE' of git://github.com/mar…
Browse files Browse the repository at this point in the history
…inaglancy/moodle into MOODLE_24_STABLE
  • Loading branch information
danpoltawski committed Feb 12, 2013
2 parents db41eeb + abc3a22 commit 6d5f4fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions course/format/formatlegacy.php
Expand Up @@ -336,6 +336,7 @@ public function course_format_options($foreditform = false) {
* @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;
Expand Down
1 change: 1 addition & 0 deletions course/format/topics/lib.php
Expand Up @@ -271,6 +271,7 @@ public function course_format_options($foreditform = false) {
* @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;
Expand Down
1 change: 1 addition & 0 deletions course/format/weeks/lib.php
Expand Up @@ -276,6 +276,7 @@ public function course_format_options($foreditform = false) {
* @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;
Expand Down

0 comments on commit 6d5f4fd

Please sign in to comment.