Skip to content

Commit

Permalink
MDL-27192 Global scope does not need global usage
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed May 17, 2011
1 parent 19ab387 commit 733bd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calendar/export_execute.php
Expand Up @@ -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
Expand Down

0 comments on commit 733bd07

Please sign in to comment.