From: David ‘Bombe’ Roden Date: Fri, 5 Nov 2010 05:46:55 +0000 (+0100) Subject: Remove “Sone.LatestEdition” property when deleting a Sone. X-Git-Tag: 0.2-RC1~35 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=18c0f93658f7757ae3857cbbcf2d4e383a68a2a7;p=Sone.git Remove “Sone.LatestEdition” property when deleting a Sone. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index dc6516d..8ebf133 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -567,6 +567,7 @@ public class Core implements IdentityListener { soneInserters.remove(sone).stop(); } identityManager.removeContext((OwnIdentity) sone.getIdentity(), "Sone"); + identityManager.removeProperty((OwnIdentity) sone.getIdentity(), "Sone.LatestEdition"); } /**