X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fprefs%2Fsysprefs.inc;h=cade4c2df8c93ab3f84f7d5d87c76697b5c989f8;hb=11109ad9f0e6af3f59d72731a95e473e72fb308b;hp=9a8213c8ab01b11da8edf3b17bfef4a2f49865d3;hpb=17b390efcf904072b02ec866b2a427490471a260;p=fa-stable.git diff --git a/includes/prefs/sysprefs.inc b/includes/prefs/sysprefs.inc index 9a8213c8..cade4c2d 100644 --- a/includes/prefs/sysprefs.inc +++ b/includes/prefs/sysprefs.inc @@ -14,7 +14,7 @@ include_once($path_to_root . "/admin/db/company_db.inc"); /* System and per company prefferences. Object is created only with site wide preffernces. - After user login refresh_company_prefs method have to be called to initialize company specific settings. + After user login refresh method have to be called to re-initialize company specific settings. */ class sys_prefs { @@ -23,7 +23,7 @@ class sys_prefs function sys_prefs() { - global $path_to_root, $db_version; + global $path_to_root; // retrieve set system wide preferences include $path_to_root.'/config.default.php'; @@ -43,9 +43,9 @@ class sys_prefs } /* - Initialize company specific preferrencies. + Re-initialize company preferrencies. */ - function refresh_company_prefs() + function refresh() { global $db_version;