Added a counter pref and a fix for the imapid
[squirrelmail.git] / functions / prefs.php
index 4f9d2a6871b81b03e75a8d6925760a686e8ea8b9..1d5fb68fb67cec349c5010213daf20b11082957e 100644 (file)
@@ -1,15 +1,15 @@
 <?php
-   /**
-    **  prefs.php
-    **
-    **  This contains functions for manipulating user preferences
-    **
-    **  $Id$
-    **/
 
-   if (defined('prefs_php'))
-      return;
-   define('prefs_php', true);
+   /**
+    *   prefs.php
+    *
+    *   Copyright (c) 1999-2001 The Squirrelmail Development Team
+    *   Licensed under the GNU GPL. For full terms see the file COPYING.
+    *
+    *   This contains functions for manipulating user preferences
+    *
+    *   $Id$
+    */
 
    global $prefs_are_cached, $prefs_cache;
    if (!session_is_registered('prefs_are_cached')) {
@@ -70,7 +70,7 @@
       if (isset($prefs_cache[$string]))
           return $prefs_cache[$string];
       else
-        return $default;
+          return $default;
    }