From dda85e07405c90e9c25d239789a48ab2ada680e2 Mon Sep 17 00:00:00 2001
From: einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>
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
---
 sql/modules/Company.sql | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'sql/modules')

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