diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-02-27 19:36:41 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-02-27 19:36:41 +0000 |
commit | dda85e07405c90e9c25d239789a48ab2ada680e2 (patch) | |
tree | 33fee153024156f81e8e26a5131471d6148475aa | |
parent | e1e5e75f4507ad0feaa5cd4af0fd5c03fbb7b6f2 (diff) |
Removing notes saving from initial credit account insert routine.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2089 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r-- | ledgersmb-httpd.conf | 21 | ||||
-rw-r--r-- | sql/modules/Company.sql | 3 |
2 files changed, 11 insertions, 13 deletions
diff --git a/ledgersmb-httpd.conf b/ledgersmb-httpd.conf index 02ca1b4f..cad5a122 100644 --- a/ledgersmb-httpd.conf +++ b/ledgersmb-httpd.conf @@ -1,8 +1,8 @@ # This file must be edited to substitute the current path with WORKING_DIR -Alias /ledgersmb WORKING_DIR/ +Alias /ledgersmb /home/ledgersmb/ledger-smb -<Directory WORKING_DIR> +<Directory /home/ledgersmb/ledger-smb> # Rewrite rule to allow HTTP Authorization information to the scripts only # from this directory. @@ -18,8 +18,9 @@ Alias /ledgersmb WORKING_DIR/ # connections that access this application in order to protect usernames and # passwords. Order Deny,Allow - Allow from 127.0.0.1 - Allow from localhost +# Allow from 127.0.0.1 +# Allow from localhost + Allow from All Deny from All # The rest of this file just tightens up security. @@ -29,32 +30,32 @@ Alias /ledgersmb WORKING_DIR/ </Files> </Directory> -<Directory WORKING_DIR/users> +<Directory /home/ledgersmb/ledger-smb/users> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/bin> +<Directory /home/ledgersmb/ledger-smb/bin> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/utils> +<Directory /home/ledgersmb/ledger-smb/utils> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/spool> +<Directory /home/ledgersmb/ledger-smb/spool> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/templates> +<Directory /home/ledgersmb/ledger-smb/templates> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/LedgerSMB> +<Directory /home/ledgersmb/ledger-smb/LedgerSMB> Order Deny,Allow Deny from All </Directory> diff --git a/sql/modules/Company.sql b/sql/modules/Company.sql index bcb0599e..feddd8e0 100644 --- a/sql/modules/Company.sql +++ b/sql/modules/Company.sql @@ -183,7 +183,6 @@ CREATE OR REPLACE FUNCTION entity_credit_save ( in_terms int, in_meta_number varchar(32), in_business_id int, in_language varchar(6), in_pricegroup_id int, in_curr char, in_startdate date, in_enddate date, - in_notes text, in_name text, in_tax_id TEXT, in_threshold NUMERIC, in_ar_ap_account_id int, @@ -254,8 +253,6 @@ CREATE OR REPLACE FUNCTION entity_credit_save ( in_cash_account_id ); -- entity note class - insert into entity_note (note_class, note, ref_key, vector) VALUES ( - 1, in_notes, new_entity_id, to_tsvector(in_notes)); return new_entity_id; |