Merge branch 'MDL-32873-master-1' of git://git.luns.net.uk/moodle
authorSam Hemelryk <sam@moodle.com>
Mon, 14 May 2012 01:39:55 +0000 (13:39 +1200)
committerSam Hemelryk <sam@moodle.com>
Mon, 14 May 2012 01:39:55 +0000 (13:39 +1200)
Conflicts:
course/lib.php

1  2 
course/lib.php

diff --cc course/lib.php
@@@ -4516,8 -4548,7 +4548,9 @@@ function include_course_ajax($course, $
          $PAGE->requires->string_for_js('pluginname', $module);
      }
  
 +    // Prevent caching of this page to stop confusion when changing page after making AJAX changes
 +    $PAGE->set_cacheable(false);
+     return true;
  }
  
  /**