[Patches] [PATCH] added unneeded self=shift form unshift_token (as peek and next do not take a self, makes interface more consistent)

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Sat Dec 10 01:05:46 NZDT 2011


From: Chris Hall <chrish at catalyst.net.nz>
Date: Fri, 9 Dec 2011 11:04:19 +1300
Subject: [PATCH] added unneeded self=shift form unshift_token (as peek and next do not take a self, makes interface more consistent)

---
 C4/TTParser.pm |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/C4/TTParser.pm b/C4/TTParser.pm
index e088124..2ea31a6 100755
--- a/C4/TTParser.pm
+++ b/C4/TTParser.pm
@@ -22,7 +22,6 @@ sub next_token{
 
 #unshift token back on @tokens
 sub unshift_token{
-    my $self = shift;
     unshift @tokens, shift;
 }
 
-- 
1.7.4.1




More information about the Patches mailing list