]> git.koha-community.org Git - koha.git/commit
Bug 18364: [Follow-up] Also add an environment variable to prevent locking
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 20 Apr 2017 10:52:47 +0000 (12:52 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 10 May 2017 09:24:22 +0000 (11:24 +0200)
commitd3d4572ebfa53c4abda1b2129f8f7b2a09b8eef4
tree38fa08824e5b687a443cd6eb53e7b44f1c8066a2
parentb710291ec97e35909e0b969629d374f20e7f8f14
Bug 18364: [Follow-up] Also add an environment variable to prevent locking

The test in SendCirculationAlert is extended by adding an env var
called KOHA_NO_TABLE_LOCKS. If this var is set to a true value,
the table locking is skipped too.

This is useful when running a test without prove. The variable could be
set in a shell profile.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Mason James <mtj@kohaaloha.com>
(cherry picked from commit 15751085e950b38df235d11e958259e15ef48f37)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Circulation.pm