]> git.koha-community.org Git - koha.git/commit
Bug 17447: Remove unused vars from batchRebuildItemsTables.pl
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 14 Oct 2016 12:27:15 +0000 (14:27 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 13 Jan 2017 11:37:01 +0000 (11:37 +0000)
commit56391bd15ae797a7bca348aef01c9d70466f14ad
treedb76a796d58f684248350b06d5b12ea2a3deafe4
parent2b62f24a4a87beeaa7a4d30e6edfdd9f61b613a8
Bug 17447: Remove unused vars from batchRebuildItemsTables.pl

Variables $extkey not used, %opt not used.
Variables $tmptest[...] not used, calling _build_tag_directory useless.
The script now does not only print help if you specify -t.
Sub defnonull tidied.
Rearranged modules, removed Dumper.

Test plan:
[1] Run the script with -t flag. The script should not only print usage
    statement, but should do a dry run. (Test this on a small database,
    or pass an additional where clause.)

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
misc/batchRebuildItemsTables.pl