MDL-23985 commenting out non-working code - we need to use new file api to get user pix

This commit is contained in:
Petr Skoda
2010-08-29 09:45:31 +00:00
parent 48183b41e9
commit 082ec753b5
+3
View File
@@ -80,10 +80,13 @@ class auth_plugin_mnet extends auth_plugin_base {
$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();