Skip to content

Commit b5fad76

Browse files
committed
removed commented out code
1 parent 1074d97 commit b5fad76

File tree

1 file changed

+0
-10
lines changed
  • zebedee-cms/src/main/java/com/github/onsdigital/zebedee/model

1 file changed

+0
-10
lines changed

zebedee-cms/src/main/java/com/github/onsdigital/zebedee/model/Collection.java

-10
Original file line numberDiff line numberDiff line change
@@ -486,16 +486,6 @@ public static Collection update(
486486
* invoke add again which will update all users either adding/removing the key to/from their keyring.
487487
*/
488488

489-
// TODO testing is this is necessary before deleting.
490-
/* User user = getUser(zebedee.getUsersService(), session.getEmail());
491-
SecretKey key = zebedee.getCollectionKeyring().get(user, collection);
492-
493-
start = LocalTime.now();
494-
zebedee.getCollectionKeyring().add(user, collection, key);
495-
ms = TimeUnit.MILLISECONDS.convert(Duration.between(start, LocalTime.now()).getNano(), TimeUnit.NANOSECONDS);
496-
497-
warn().data("duration_ms", ms).log("collection update add collection key completed");*/
498-
499489
return updatedCollection;
500490
}
501491

0 commit comments

Comments
 (0)