From c4740390b55aa14c6c9bd26bccfa976beeb9a2cb Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 6 May 2009 08:26:19 +0000 Subject: [PATCH] moodle_page: MDL-12212 remove useless code as a preparitory step --- admin/pagelib.php | 5 ----- blocks/tag_flickr/block_tag_flickr.php | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/admin/pagelib.php b/admin/pagelib.php index 7bcff27be3d..ac4e3a8d03f 100644 --- a/admin/pagelib.php +++ b/admin/pagelib.php @@ -121,11 +121,6 @@ class page_admin extends page_base { return $instance->position; } - // does anything need to be done here? - function init_quick($data) { - parent::init_quick($data); - } - function print_header($section = '', $focus='') { global $USER, $CFG, $SITE; diff --git a/blocks/tag_flickr/block_tag_flickr.php b/blocks/tag_flickr/block_tag_flickr.php index eb12112e8c4..99a0f5b5dc1 100644 --- a/blocks/tag_flickr/block_tag_flickr.php +++ b/blocks/tag_flickr/block_tag_flickr.php @@ -31,7 +31,7 @@ class block_tag_flickr extends block_base { function get_content() { - global $CFG, $USER, $PAGE; + global $CFG, $USER; if ($this->content !== NULL) { return $this->content;