Bug 5327: Patch removes unneeded self=shift from TTParser::unshift_token
authorChris Hall <chrish@catalyst.net.nz>
Thu, 8 Dec 2011 22:04:19 +0000 (11:04 +1300)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 15 Feb 2012 09:47:23 +0000 (10:47 +0100)
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@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/TTParser.pm

index e088124..2ea31a6 100755 (executable)
@@ -22,7 +22,6 @@ sub next_token{
 
 #unshift token back on @tokens
 sub unshift_token{
-    my $self = shift;
     unshift @tokens, shift;
 }