summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-29 07:37:44 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-11-29 07:37:44 +0000
commitadcdb4574294942cee0efeeb7bc805a265b1c9d9 (patch)
treedfa65b7a1a94682180563e41d75e75aca389bc6f /bin
parentc5733b59242a43f386a2e5cf5be35b80e8ba93d4 (diff)
Removing duplicate drawer open
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1917 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rw-r--r--bin/pos.pl6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/pos.pl b/bin/pos.pl
index bf00ab0b..5eb0754a 100644
--- a/bin/pos.pl
+++ b/bin/pos.pl
@@ -65,11 +65,6 @@ sub custom_send_to_pd{
close SOCK;
}
-sub on_update{
- &custom_send_to_pd;
- &custom_check_alert;
-}
-
sub open_drawer{
require "pos.conf.pl";
open (PRINTER, "|-", ${'LedgerSMB::Sysconfig::printer'}{Printer});
@@ -947,7 +942,6 @@ sub print {
sub print_form {
my $old_form = shift;
- &open_drawer;
# if oldcustomer ne customer redo form
$customer = $form->{customer};