MDL-34471 libraries: Replace all uses of get_context_instance() with respective context_XXXX::instance() method

This commit is contained in:
Ankit Agarwal
2012-08-02 15:37:38 +08:00
parent 470d47f512
commit bf0f06b1be
56 changed files with 189 additions and 189 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ $sm = get_string_manager();
$PAGE->set_url('/help.php');
$PAGE->set_pagelayout('popup');
$PAGE->set_context(get_context_instance(CONTEXT_SYSTEM));
$PAGE->set_context(context_system::instance());
if ($ajax) {
@header('Content-Type: text/plain; charset=utf-8');