From: defacer Date: Wed, 12 Jan 2005 11:33:45 +0000 (+0000) Subject: Capitalized $user->sessionIP to $USER->sessionIP. Probably was a typo, X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=642fd913d38b8f30c47d7c99b71e04c2e99b8508;p=moodle.git Capitalized $user->sessionIP to $USER->sessionIP. Probably was a typo, considering the comment just above. --- diff --git a/admin/user.php b/admin/user.php index de3c81e813..e857cca059 100644 --- a/admin/user.php +++ b/admin/user.php @@ -63,7 +63,7 @@ $USER = $user; $USER->loggedin = true; $USER->sesskey = random_string(10); // for added security, used to check script parameters - $user->sessionIP = md5(getremoteaddr()); // Store the current IP in the session + $USER->sessionIP = md5(getremoteaddr()); // Store the current IP in the session $USER->site = $CFG->wwwroot; $USER->admin = true; $USER->teacher["$site->id"] = true;