Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / admin / db / company_db.inc
index 1346aa3ad457cc1970654f71dbb490c45cf0aaab..3b66dc4cc12fd05796117b5594052f8d9571f55c 100644 (file)
@@ -36,7 +36,7 @@ function get_company_pref($prefs = null)
        
        if (!isset($_SESSION['SysPrefs']->prefs)) { // cached preferences
 
-               $_SESSION['SysPrefs'] = new sys_prefs();
+//             $_SESSION['SysPrefs'] = new sys_prefs();
 
                $sql = "SELECT name, value FROM ".TB_PREF."sys_prefs";
                $result = @db_query($sql); // supress errors before 2.3 db structure upgrade
@@ -216,3 +216,20 @@ function clean_user_themes($theme)
 }
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+