Skip to content

Commit

Permalink
Bug 5327: Patch removes unneeded self=shift from TTParser::unshift_token
Browse files Browse the repository at this point in the history
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
Chris Hall authored and cnighswonger committed Jan 16, 2012
1 parent fc2a641 commit eb8f99c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion C4/TTParser.pm
Expand Up @@ -22,7 +22,6 @@ sub next_token{


#unshift token back on @tokens #unshift token back on @tokens
sub unshift_token{ sub unshift_token{
my $self = shift;
unshift @tokens, shift; unshift @tokens, shift;
} }


Expand Down

0 comments on commit eb8f99c

Please sign in to comment.