Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'wip-MDL-27192_MOODLE_20_STABLE' of git://github.com/jas…

…on-platts/moodle into MOODLE_20_STABLE
  • Loading branch information...
commit 19ab387d068106cd2ae5b9bd06d10ed078b1d928 2 parents 75c92b6 + 02a03f4
@stronk7 stronk7 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 calendar/export_execute.php
View
4 calendar/export_execute.php
@@ -11,9 +11,9 @@
if (empty($CFG->enablecalendarexport)) {
die('no export');
}
-
+global $DB;
//Fetch user information
-if (!$user = get_complete_user_data('username', $username)) {
+if (!$user = $DB->get_record('user', array('username' => $username), 'id,password')) {
//No such user
die('Invalid authentication');
}
Please sign in to comment.
Something went wrong with that request. Please try again.