Remove “Sone.LatestEdition” property when deleting a Sone.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 5 Nov 2010 05:46:55 +0000 (06:46 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 5 Nov 2010 05:46:55 +0000 (06:46 +0100)
src/main/java/net/pterodactylus/sone/core/Core.java

index dc6516d..8ebf133 100644 (file)
@@ -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");
        }
 
        /**