fixed login problems
[squirrelmail.git] / functions / prefs.php
index 097c2dac2d0bc53a9ab4a92a8a73c129962096d7..30bfd06ada945e97d99af38d1076571d01ccbdc7 100644 (file)
@@ -5,6 +5,8 @@
     **  This contains functions for manipulating user preferences
     **/
 
+   $prefs_php = true;
+
    /** returns the value for $string **/
    function getPref($data_dir, $username, $string) {
       $filename = "$data_dir$username.pref";
@@ -69,7 +71,8 @@
 
 
 
-   /** This checks if there is a pref file, if there isn't, it will create it. **/
+   /** This checks if there is a pref file, if there isn't, it will
+       create it. **/
    function checkForPrefs($data_dir, $username) {
       $filename = "$data_dir$username.pref";
       if (!file_exists($filename)) {
@@ -78,7 +81,6 @@
             exit;
          }
       }
-      return;
    }