Ensure we only generate unique barcodes
authorDan Scott <dscott@laurentian.ca>
Fri, 13 Jul 2012 15:20:15 +0000 (11:20 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 8 May 2013 13:46:40 +0000 (09:46 -0400)
commit7eb6d72e2c2dbf7038c5b56bfc14e93effac3f0c
treefa7ae48fae29c8a401bbe80bde53db461f3ed278
parent69fcacb98ff1931235f36c32f4e53bba4426a705
Ensure we only generate unique barcodes

Rather than looping over existing barcodes only when we update the
patron account, let's not return duplicate barcodes in the first place,
mmmkay?

Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/ldap_sync