Avoid useless profile fetches.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Sun, 4 Nov 2012 22:51:19 +0000 (23:51 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 10 Nov 2012 16:04:44 +0000 (17:04 +0100)
commit6178c3f31864ca86a7ede818d0ce0f40de341f58
tree4ab3e5be63806bc4e9ba65c4ad4cbbeb4a36caad
parentcbbbb4861131069cd2077a4eb5ac0747fe2be05b
Avoid useless profile fetches.

Profile should only be refetched if a different visibility level is requested.

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/user.php