Author: xor
Date: 2008-11-09 23:00:27 +0000 (Sun, 09 Nov 2008)
New Revision: 23456

Modified:
   trunk/plugins/WoT/WoT.java
Log:
Don't always create an identity

Modified: trunk/plugins/WoT/WoT.java
===================================================================
--- trunk/plugins/WoT/WoT.java  2008-11-09 22:52:44 UTC (rev 23455)
+++ trunk/plugins/WoT/WoT.java  2008-11-09 23:00:27 UTC (rev 23456)
@@ -96,15 +96,6 @@

                // Should disappear soon.
                web = new WebInterface(pr, db, config, client, SELF_URI);
-
-               // Create a default OwnIdentity if none exists. Should speed up 
plugin usability for newbies
-               if(OwnIdentity.getNbOwnIdentities(db) == 0) {
-                       try {
-                               createIdentity("Anonymous", "true", "testing");
-                       } catch (Exception e) {
-                               Logger.error(this, "Error creating default 
identity : ", e);
-                       }
-               }

                // Start the inserter thread
                inserter = new IdentityInserter(db, client, 
pr.getNode().clientCore.tempBucketFactory);


Reply via email to