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
@@ -178,7 +178,7 @@ class feedback_edit_create_template_form extends moodleform {
get_string('name', 'feedback'),
array('size'=>'40', 'maxlength'=>'200'));
if (has_capability('mod/feedback:createpublictemplate', get_system_context())) {
if (has_capability('mod/feedback:createpublictemplate', context_system::instance())) {
$elementgroup[] = $mform->createElement('checkbox',
'ispublic',
get_string('public', 'feedback'),