From 3d2fd76ccc0cd46f932a835929318363c8d0450f Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 11 Aug 2015 16:13:35 +0200 Subject: [PATCH] Code documentation --- include/class_user.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/class_user.php b/include/class_user.php index f183c7fce..30a3f5c42 100644 --- a/include/class_user.php +++ b/include/class_user.php @@ -494,6 +494,12 @@ class User $Res = $this->db->exec_sql($sql, array($this->id, $p_id)); } } + /** + * Save the preference , the scope is global, the settings are saved + * into account_repository + * @param $key THEME, LANG , PAGESIZE + * @param $value value of the key + */ function save_global_preference($key, $value) {