Slight optimization for authority_control_fields.pl
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 May 2011 12:11:27 +0000 (12:11 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 May 2011 12:11:27 +0000 (12:11 +0000)
commitf1eb75992d902209707829bca24e7cbd93e0669c
treee584c5a758e32b43bed34a1bddc669ad328a41bb
parent49b4999822d70d875b392903ad88d01068d2486e
Slight optimization for authority_control_fields.pl

Instead of creating two CStoreEditors per bib record, reuse the global
CStoreEditor for read operations; this way we only have to create a new
CStoreEditor if a record has fields to authorize.

Signed-off-by: Dan Scott <dan@coffeecode.net>

git-svn-id: svn://svn.open-ils.org/ILS/trunk@20356 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/support-scripts/authority_control_fields.pl