From 082ec753b5ef42e99982f4eae4cdc04564d76d7d Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 29 Aug 2010 09:45:31 +0000 Subject: [PATCH] MDL-23985 commenting out non-working code - we need to use new file api to get user pix --- auth/mnet/auth.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/auth/mnet/auth.php b/auth/mnet/auth.php index 0eeb93e93ce..805a078d90f 100644 --- a/auth/mnet/auth.php +++ b/auth/mnet/auth.php @@ -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();