]> git.koha-community.org Git - koha.git/commit
Bug 7061: unnecessary global variables declared in C4::SQLHelper
authorIan Walls <ian.walls@bywatersolutions.com>
Wed, 19 Oct 2011 00:17:17 +0000 (20:17 -0400)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 16 Nov 2011 14:00:33 +0000 (09:00 -0500)
commit38d355298317fb9056f33e07b36309a6e19a62fa
treeed4c735ee4ad1cc7b36cbf9c8adb09202240c4d0
parent15a04cacd503bbf602b492d91ef01b0926367184
Bug 7061: unnecessary global variables declared in C4::SQLHelper

Removes $tablename and $hash from global scope of C4/SQLHelper.pm.  They are never used;
all instances of $table are locally scoped to the subroutines, and $hash is never used.

This may help with persistance; if not, it's at least a bit of trivial cleanup.

To test:

1.  Search for a patron
2.  Create a Contract in Acquisitions
3.  Modify that Contract
4.  Delete that Contract

All instances should return error free.  This checks the subroutines of SQLHelper

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit 36d8e5df96d17df3d19a4693fff2ba52504fae51)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/SQLHelper.pm