X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=functions%2Fprefs.php;h=ad32bf9149bb105c31dffbf5d97ec979f16a938c;hb=165829a378d4e41c1a47b46be08fdbd20315077f;hp=3d3033b8105337153d978aa680bf94fa7084aa51;hpb=2ce029b05ba95b0046514d9f9541d68720cdf7ad;p=squirrelmail.git diff --git a/functions/prefs.php b/functions/prefs.php index 3d3033b8..ad32bf91 100644 --- a/functions/prefs.php +++ b/functions/prefs.php @@ -3,7 +3,7 @@ /** * prefs.php * - * Copyright (c) 1999-2001 The SquirrelMail Development Team + * Copyright (c) 1999-2002 The SquirrelMail Development Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * This contains functions for manipulating user preferences @@ -27,6 +27,11 @@ function cachePrefValues($data_dir, $username) { return; } + /* A call to checkForPrefs here should take eliminate the need for + /* this to be called throughout the rest of the SquirrelMail code. + checkForPrefs($data_dir, $username); + + /* Calculate the filename for the user's preference file */ $filename = getHashedFile($username, $data_dir, "$username.pref"); if (!file_exists($filename)) {