From 733bd07b8b04e1be04b70fe9b12a5a992ea7368a Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Tue, 17 May 2011 18:48:20 +0200 Subject: [PATCH] MDL-27192 Global scope does not need global usage --- calendar/export_execute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/export_execute.php b/calendar/export_execute.php index f3117165d2123..bfda4578521aa 100644 --- a/calendar/export_execute.php +++ b/calendar/export_execute.php @@ -11,7 +11,7 @@ if (empty($CFG->enablecalendarexport)) { die('no export'); } -global $DB; + //Fetch user information if (!$user = $DB->get_record('user', array('username' => $username), 'id,password')) { //No such user