MDL-6424 - blocks - Add missing global vars.
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 6 Sep 2012 17:39:49 +0000 (19:39 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 6 Sep 2012 17:45:00 +0000 (19:45 +0200)
lib/blocklib.php

index 1e34a36..1986c09 100644 (file)
@@ -1114,7 +1114,7 @@ class block_manager {
      * @return boolean true if anything was done. False if not.
      */
     public function process_url_delete() {
-        global $CFG;
+        global $CFG, $PAGE, $OUTPUT;
 
         $blockid = optional_param('bui_deleteid', null, PARAM_INT);
         $confirmdelete = optional_param('bui_confirm', null, PARAM_INT);