Browse files

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@web.de>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 18bb9c2)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
  • Loading branch information...
1 parent fc2a641 commit eb8f99c37938bc2106843e589f3cce80602a33b8 @mkfifo mkfifo committed with cnighswonger Dec 9, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 C4/TTParser.pm
View
1 C4/TTParser.pm
@@ -22,7 +22,6 @@ sub next_token{
#unshift token back on @tokens
sub unshift_token{
- my $self = shift;
unshift @tokens, shift;
}

0 comments on commit eb8f99c

Please sign in to comment.