]> git.mjollnir.org Git - moodle.git/commitdiff
moodle_page: MDL-12212 remove useless code as a preparitory step
authortjhunt <tjhunt>
Wed, 6 May 2009 08:26:19 +0000 (08:26 +0000)
committertjhunt <tjhunt>
Wed, 6 May 2009 08:26:19 +0000 (08:26 +0000)
admin/pagelib.php
blocks/tag_flickr/block_tag_flickr.php

index 7bcff27be3d874cd60e3e9dde1c6ffb7c360e49d..ac4e3a8d03fac46a25ffacd84b16125102c54c8f 100644 (file)
@@ -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;
 
index eb12112e8c4bc129fc3d1178f73df516feec9232..99a0f5b5dc1f8d893870ce894b33860f1016557f 100644 (file)
@@ -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;