From e7e46115e97d21c2669e19ae378e359a779c7784 Mon Sep 17 00:00:00 2001 From: Glenn Henshaw Date: Fri, 13 Aug 2004 02:03:53 +0000 Subject: [PATCH] added a comment on user_pref_get_row git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2845 f5dc347c-c33d-0410-90a0-b07cc1902cb9 --- core/user_pref_api.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/user_pref_api.php b/core/user_pref_api.php index 341241ec66..155c88f733 100644 --- a/core/user_pref_api.php +++ b/core/user_pref_api.php @@ -6,7 +6,7 @@ # See the README and LICENSE files for details # -------------------------------------------------------- - # $Id: user_pref_api.php,v 1.19 2004-08-12 22:56:47 vboctor Exp $ + # $Id: user_pref_api.php,v 1.20 2004-08-13 02:03:53 thraxisp Exp $ # -------------------------------------------------------- ### User Preferences API ### @@ -287,6 +287,8 @@ function user_pref_delete_all( $p_user_id ) { # -------------------- # return the user's preferences + # @@@ (this should be a private interface as it doesn't have the benefit of applying + # global defaults before returning values. function user_pref_get_row( $p_user_id, $p_project_id = ALL_PROJECTS ) { return user_pref_cache_row( $p_user_id, $p_project_id ); }