MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core

This commit is contained in:
Ankit Agarwal
2013-07-04 15:41:06 +08:00
parent 85b2e46f23
commit 0601e0eef6
40 changed files with 57 additions and 57 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
$PAGE->set_url('/error/');
$PAGE->set_title($site->fullname .':Error');
$PAGE->set_heading($site->fullname .': Error 404');
$PAGE->set_context(get_system_context());
$PAGE->set_context(context_system::instance());
$PAGE->navbar->add('Error 404 - File not Found');
echo $OUTPUT->header();
echo $OUTPUT->box(get_string('pagenotexist', 'error'). '<br />'.s($requesturi), 'generalbox boxaligncenter');