Finish updating checkouts app to support organizations.
This commit is contained in:
@@ -29,7 +29,7 @@ def task_check_expired_check_outs():
|
||||
name=lock_id, timeout=CHECKOUT_EXPIRATION_LOCK_EXPIRE
|
||||
)
|
||||
logger.debug('acquired lock: %s', lock_id)
|
||||
DocumentCheckout.objects.check_in_expired_check_outs()
|
||||
DocumentCheckout.on_organization.check_in_expired_check_outs()
|
||||
lock.release()
|
||||
except LockError:
|
||||
logger.debug('unable to obtain lock')
|
||||
|
||||
Reference in New Issue
Block a user