From dda85e07405c90e9c25d239789a48ab2ada680e2 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 27 Feb 2008 19:36:41 +0000 Subject: 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 --- ledgersmb-httpd.conf | 21 +++++++++++---------- 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 - + # 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/ - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All 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; -- cgit v1.2.3