[Patches] [PATCH] [SIGNED-OFF] Bug 5327: Patch removes unneeded self=shift

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Tue Dec 13 22:05:56 NZDT 2011


From: Chris Hall <chrish at catalyst.net.nz>
Date: Fri, 9 Dec 2011 11:04:19 +1300
Subject: [PATCH] [SIGNED-OFF] Bug 5327: Patch removes unneeded self=shift
 from TTParser::unshift_token

Removed  unneeded self=shift from unshift_token
(as peek and next do not take a self, makes interface more consistent)

http://bugs.koha-community.org/show_bug.cgi?id=5327
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
---
 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.5.4


More information about the Patches mailing list