MDL-21125 removing obsolete global $THEME
This commit is contained in:
+2
-8
@@ -110,19 +110,13 @@ global $COURSE;
|
||||
* to change something that affects the current theme ($PAGE->course, logged in use,
|
||||
* httpsrequried ... will result in an exception.)
|
||||
*
|
||||
* Please note the $OUTPUT is replacing the old global $THEME object.
|
||||
*
|
||||
* @global object $OUTPUT
|
||||
* @name $OUTPUT
|
||||
*/
|
||||
global $OUTPUT;
|
||||
|
||||
/**
|
||||
* $THEME is a global that defines the current theme.
|
||||
*
|
||||
* @global theme_config $THEME
|
||||
* @name THEME
|
||||
*/
|
||||
global $THEME;
|
||||
|
||||
/**
|
||||
* Shared memory cache.
|
||||
* @global object $MCACHE
|
||||
|
||||
Reference in New Issue
Block a user