]> git.koha-community.org Git - koha.git/commit
Bug 15217 Remove redundant duplicate var declaration
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 19 Nov 2015 14:17:10 +0000 (14:17 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 31 Dec 2015 16:54:18 +0000 (17:54 +0100)
commitc9b64dc5ecb92659227c707a53ceabab9ec0c5c3
tree7e7b4b4a8c2240d2ec09203b614a04918a98d9c2
parentdeef37d65ef28e525a4a23bb1d9ff14f8bbc2c66
 Bug 15217 Remove redundant duplicate var declaration

remove superfluous second declaration of template, borrowernumber and
cookie which are never used

Also removed the variables @results and @results_array which are
declared but not used

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
  As suggested by Colin, perl -wc catalogue/search.pl doesn't complain
  anymore after applying the patch. perlcritic confirms the 2 variables
  were unused.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 558f291465d60c082c0e9a4a15eb7ed87a3e3fde)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 141f30d406671330bf31b199b4cdb78414176111)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
catalogue/search.pl