mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-30757 questions: kill legacy global $QUESTION_EDITTABCAPS
This commit is contained in:
parent
0e84b1664d
commit
f8a3a3fb9a
@ -1700,12 +1700,6 @@ function question_edit_setup($edittab, $baseurl, $requirecmid = false, $requirec
|
||||
return array($thispageurl, $contexts, $cmid, $cm, $module, $pagevars);
|
||||
}
|
||||
|
||||
/**
|
||||
* Required for legacy reasons. Was originally global then changed to class static
|
||||
* as of Moodle 2.0
|
||||
*/
|
||||
$QUESTION_EDITTABCAPS = question_edit_contexts::$caps;
|
||||
|
||||
/**
|
||||
* Make sure user is logged in as required in this context.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user