MDL-30757 questions: kill legacy global $QUESTION_EDITTABCAPS

This commit is contained in:
Tim Hunt 2011-12-15 11:39:32 +00:00
parent 0e84b1664d
commit f8a3a3fb9a

View File

@ -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.
*/