From: tjhunt Date: Thu, 7 May 2009 02:57:39 +0000 (+0000) Subject: blocklib: MDL-19010 move the check for whether the right database tables exist -... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e3bd4690e03a2771d236b2fd193926d02f3e0761;p=moodle.git blocklib: MDL-19010 move the check for whether the right database tables exist - and we no longer need this global. --- diff --git a/lib/pagelib.php b/lib/pagelib.php index 3c9070d19e..1634abe220 100644 --- a/lib/pagelib.php +++ b/lib/pagelib.php @@ -573,7 +573,6 @@ class moodle_page { * state. This is our last change to initialise things. */ protected function starting_output() { - global $CFG; if (!$this->_course) { global $SITE; $this->set_course($SITE);