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>
Tue, 7 May 2013 18:57:56 +0000 (14:57 -0400)
commit6f19f34f1057d6213258acb788dce6d6b8622405
tree5b4ecf47bfb84f0232bdf0382a74c9c44a0108ac
parent3b1c188ff8386d70786e206f146d68c6c1af442f
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