Author: toad
Date: 2008-06-19 12:29:16 +0000 (Thu, 19 Jun 2008)
New Revision: 20480

Modified:
   branches/db4o/freenet/src/freenet/node/updater/NodeUpdater.java
Log:
doh

Modified: branches/db4o/freenet/src/freenet/node/updater/NodeUpdater.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/updater/NodeUpdater.java     
2008-06-19 12:27:30 UTC (rev 20479)
+++ branches/db4o/freenet/src/freenet/node/updater/NodeUpdater.java     
2008-06-19 12:29:16 UTC (rev 20480)
@@ -78,7 +78,7 @@
                try{
                        // because of UoM, this version is actually worth 
having as well
                        USK 
myUsk=USK.create(URI.setSuggestedEdition(currentVersion));
-                       ctx.uskManager.subscribe(myUsk, this, true, this);
+                       core.uskManager.subscribe(myUsk, this, true, this);
                }catch(MalformedURLException e){
                        Logger.error(this,"The auto-update URI isn't valid and 
can't be used");
                        manager.blow("The auto-update URI isn't valid and can't 
be used");
@@ -287,7 +287,7 @@
                        synchronized(this) {
                                isRunning = false;
                                USK 
myUsk=USK.create(URI.setSuggestedEdition(currentVersion));
-                               ctx.uskManager.unsubscribe(myUsk, this, true);
+                               core.uskManager.unsubscribe(myUsk, this,        
true);
                                c = cg;
                                cg = null;
                        }


Reply via email to