Skip to content

Commit

Permalink
MDL-23985 commenting out non-working code - we need to use new file a…
Browse files Browse the repository at this point in the history
…pi to get user pix
  • Loading branch information
skodak committed Aug 29, 2010
1 parent 48183b4 commit 082ec75
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions auth/mnet/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,13 @@ function user_authorise($token, $useragent) {
$userdata['session.gc_maxlifetime'] = ini_get('session.gc_maxlifetime');

if (array_key_exists('picture', $userdata) && !empty($user->picture)) {
//TODO: rewrite to use new file storage
/*
$imagefile = make_user_directory($user->id, true) . "/f1.jpg";
if (file_exists($imagefile)) {
$userdata['imagehash'] = sha1(file_get_contents($imagefile));
}
*/
}

$userdata['myhosts'] = array();
Expand Down

0 comments on commit 082ec75

Please sign in to comment.