mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
moodle_page: MDL-12212 remove useless code as a preparitory step
This commit is contained in:
parent
7e285632fc
commit
c4740390b5
@ -121,11 +121,6 @@ class page_admin extends page_base {
|
|||||||
return $instance->position;
|
return $instance->position;
|
||||||
}
|
}
|
||||||
|
|
||||||
// does anything need to be done here?
|
|
||||||
function init_quick($data) {
|
|
||||||
parent::init_quick($data);
|
|
||||||
}
|
|
||||||
|
|
||||||
function print_header($section = '', $focus='') {
|
function print_header($section = '', $focus='') {
|
||||||
global $USER, $CFG, $SITE;
|
global $USER, $CFG, $SITE;
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ class block_tag_flickr extends block_base {
|
|||||||
|
|
||||||
function get_content() {
|
function get_content() {
|
||||||
|
|
||||||
global $CFG, $USER, $PAGE;
|
global $CFG, $USER;
|
||||||
|
|
||||||
if ($this->content !== NULL) {
|
if ($this->content !== NULL) {
|
||||||
return $this->content;
|
return $this->content;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user