0001503: Request - fee account included in bank account table
[fa-stable.git] / admin / db / company_db.inc
index 1a01ec63e7200108ccbd8f37879837a81b0b6f09..9fd2e68c27adf2931ce65aeb9bb01586bd801526 100644 (file)
@@ -68,7 +68,7 @@ function get_company_pref($prefs = null)
                return $ret;
 }
 
-function set_company_pref($pref, $category, $type, $length, $value)
+function get_company_prefs()
 {
        return get_company_pref(null);
 }
@@ -170,10 +170,8 @@ function get_payment_terms_all($show_inactive)
                value is name of foreign key field. For numeric keys $stdkey field name is used.
        $stdkey - standard name of foreign key.
 */
-function key_in_foreign_table($id, $tables, $stdkey, $escaped=false)
+function key_in_foreign_table($id, $tables, $stdkey)
 {
-       if (!$escaped)
-               $id = db_escape($id);
 
        if (!is_array($tables))
                $tables = array($tables);