projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Increment year in copyright notice.
[squirrelmail.git]
/
functions
/
file_prefs.php
diff --git
a/functions/file_prefs.php
b/functions/file_prefs.php
index c19420a40dfba122f9e85a2c93b7ea9408380d69..4f8f03029273c5a4841b356ab02ac0ebc00123fe 100644
(file)
--- a/
functions/file_prefs.php
+++ b/
functions/file_prefs.php
@@
-3,7
+3,7
@@
/**
* file_prefs.php
*
/**
* file_prefs.php
*
- * Copyright (c) 1999-200
4
The SquirrelMail Project Team
+ * Copyright (c) 1999-200
5
The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains functions for manipulating user preferences in files
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains functions for manipulating user preferences in files
@@
-23,7
+23,7
@@
function cachePrefValues($data_dir, $username) {
sqgetGlobalVar('prefs_are_cached', $prefs_are_cached, SQ_SESSION );
if ( isset($prefs_are_cached) && $prefs_are_cached) {
sqgetGlobalVar('prefs_are_cached', $prefs_are_cached, SQ_SESSION );
if ( isset($prefs_are_cached) && $prefs_are_cached) {
- sqgetGlobalVar('prefs_cache', $prefs_cache, SQ_SESSION );
+
sqgetGlobalVar('prefs_cache', $prefs_cache, SQ_SESSION );
return;
}
return;
}
@@
-95,7
+95,7
@@
function getPref($data_dir, $username, $string, $default = '') {
if (!$result) {
cachePrefValues($data_dir, $username);
if (isset($prefs_cache[$string])) {
if (!$result) {
cachePrefValues($data_dir, $username);
if (isset($prefs_cache[$string])) {
-
$result = $prefs_cache[$string];
+ $result = $prefs_cache[$string];
} else {
$result = do_hook_function('get_pref', array($username,$string));
if (!$result) {
} else {
$result = do_hook_function('get_pref', array($username,$string));
if (!$result) {