* @param bool $showpasses Whether this reporter should output anything for passes.
*/
function ExHtmlReporter($showpasses) {
- global $CFG, $THEME;
-
$this->HtmlReporter();
$this->showpasses = $showpasses;
}
function get_content() {
- global $THEME, $CFG, $USER, $DB;
+ global $CFG, $USER, $DB;
if($this->content !== NULL) {
return $this->content;
}
function get_remote_courses() {
- global $THEME, $CFG, $USER;
+ global $CFG, $USER;
if (!is_enabled_auth('mnet')) {
// no need to query anything remote related
}
function get_content() {
- global $THEME, $CFG, $USER, $DB;
+ global $CFG, $USER, $DB;
// only for logged in users!
if (!isloggedin() || isguest()) {
}
function get_content() {
- global $CFG, $THEME;
+ global $CFG;
if($this->content !== NULL) {
return $this->content;
* (which is called from showbank())
*/
function module_specific_controls($totalnumber, $recurse, $category, $cmid, $cmoptions) {
- global $THEME, $QTYPES;
+ global $QTYPES;
$out = '';
$catcontext = get_context_instance_by_id($category->contextid);
if (has_capability('moodle/question:useall', $catcontext)) {