Skip to content

Commit 174cfa5

Browse files
committed
Clear the exception counter as well
1 parent 56fc4cd commit 174cfa5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

api/src/org/labkey/api/security/Encryption.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,8 @@ public static void deleteEncryptedContent(User user)
672672
event.setChanges(changes);
673673
AuditLogService.get().addEvent(user, event);
674674
CacheManager.clearAllKnownCaches();
675+
// Reset the counter and clear the warnings
676+
DECRYPTION_EXCEPTIONS.set(0);
675677
WarningService.get().clearStaticWarnings();
676678
LOG.info("Finished deleting all encrypted content");
677679
}

0 commit comments

Comments
 (0)