From 5475344a9df26261a23098d52fff5b21084d8627 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 23 Nov 2007 01:41:00 +0000 Subject: Fixing accidental commit of user-specific customizations git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@1893 4979c152-3d1c-0410-bac9-87ea11338e46 --- LedgerSMB/Form.pm | 6 ------ 1 file changed, 6 deletions(-) (limited to 'LedgerSMB/Form.pm') diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index 9376beab..34ca7187 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -2153,9 +2153,6 @@ sub all_departments { while ( my $ref = $sth->fetchrow_hashref('NAME_lc') ) { push @{ $self->{all_department} }, $ref; - if ($self->{department_id} == $ref->{id}){ - $self->{department} = "$ref->{description}--$ref->{id}"; - } } $sth->finish; @@ -2220,7 +2217,6 @@ sub create_links { my ( $self, $module, $myconfig, $vc, $job ) = @_; - $self->{department_id} = $myconfig->{department_id}; # get last customers or vendors my ( $query, $sth ); @@ -2395,8 +2391,6 @@ sub lastname_used { my ( $self, $myconfig, $dbh2, $vc, $module ) = @_; my $dbh = $self->{dbh}; - $self->{department_id} = $myconfig->{department_id}; - $vc ||= $self->{vc}; # add default to correct for improper passing my $arap = ( $vc eq 'customer' ) ? "ar" : "ap"; my $where = "1 = 1"; -- cgit v1.2.3