MDL-6424 - blocks - Add missing global vars.
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user