Skip to content

Commit

Permalink
LDAP Auth MDL-23331 fix global calls - thanks to Federico Botti for r…
Browse files Browse the repository at this point in the history
…eport/fix
  • Loading branch information
danmarsden committed Jul 16, 2010
1 parent 985acc9 commit 1aa6671
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth/ldap/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ function can_signup() {
* @param boolean $notify print notice with link and terminate
*/
function user_signup($user, $notify=true) {
global $CFG, $DB;
global $CFG, $DB, $OUTPUT, $PAGE;

require_once($CFG->dirroot.'/user/profile/lib.php');

Expand Down Expand Up @@ -833,7 +833,7 @@ function sync_users($do_updates=true) {
* @param string $username username
*/
function update_user_record($username, $updatekeys = false) {
global $CFG;
global $CFG, $DB;

//just in case check text case
$username = trim(moodle_strtolower($username));
Expand Down

0 comments on commit 1aa6671

Please sign in to comment.