From 0a5d9981a8c774a47da5c7a9bd70573c285ba41c Mon Sep 17 00:00:00 2001 From: dbs Date: Tue, 21 Sep 2010 03:54:26 +0000 Subject: [PATCH] Clean up description of ARN in O:A:Cat::Authority now that arn_value is gone A comment in the create_authority_record_from_bib_field() method stated that the ARN value needed to be unique across the database; that is no longer true as of r17722. Fix comment accordingly. git-svn-id: svn://svn.open-ils.org/ILS/trunk@17860 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../src/perlmods/OpenILS/Application/Cat/Authority.pm | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm b/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm index c3a4cb7189..7fca930e7c 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Cat/Authority.pm @@ -79,12 +79,10 @@ sub create_authority_record_from_bib_field { } $control .= ''; - # ARN, or "authority record number", needs to be unique across the database + # ARN, or "authority record number", used to need to be unique across the database. # Of course, we have no idea what's in the database, and if the - # cat.maintain_control_numbers flag is set to "TRUE" then the 003 will - # be reset to the record ID anyway. Just use time() for now and hope that - # two attempts to create an authority record in the same second doesn't - # happen too often. + # cat.maintain_control_numbers flag is set to "TRUE" then the 001 will + # be reset to the record ID anyway. my $arn = 'AUTOGEN-' . time(); # Placeholder MARCXML; -- 2.43.2