Slight optimization for authority_control_fields.pl
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 May 2011 12:12:48 +0000 (12:12 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sun, 1 May 2011 12:12:48 +0000 (12:12 +0000)
commit4d27312f40c78fbbbb102519a06dbea3d8b0bcc5
treee6e34b0d977bc649e86cf2a647f139e0fbdd22c6
parent3c9e8a8b8d559672541c83ee9708d04c519c7d9f
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/branches/rel_2_1@20357 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/src/support-scripts/authority_control_fields.pl