From: Nicolas Iooss Date: Sat, 8 Mar 2014 14:12:37 +0000 (+0100) Subject: Add a comment to explain why VIEW_HIDDEN was not introduced in profile/ pages X-Git-Tag: xorg/1.1.12~10 X-Git-Url: http://git.polytechnique.org/?p=platal.git;a=commitdiff_plain;h=a8ec822c26f2a4e1c46e22620f52a0c5550c6511 Add a comment to explain why VIEW_HIDDEN was not introduced in profile/ pages --- diff --git a/modules/profile.php b/modules/profile.php index 42c93ed..09937a3 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -224,6 +224,8 @@ class ProfileModule extends PLModule } // Determines the access level at which the profile will be displayed. + // Note: VIEW_HIDDEN can NOT be selected. The admins who want to read + // information need to use the "edit profile" pages instead. if (Env::v('view') == 'public') { $view = Visibility::VIEW_PUBLIC; } else if (Env::v('view') == 'ax') {