From a8ec822c26f2a4e1c46e22620f52a0c5550c6511 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Sat, 8 Mar 2014 15:12:37 +0100 Subject: [PATCH] Add a comment to explain why VIEW_HIDDEN was not introduced in profile/ pages --- modules/profile.php | 2 ++ 1 file changed, 2 insertions(+) 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') { -- 2.1.4