Author: toad
Date: 2006-09-01 21:27:10 +0000 (Fri, 01 Sep 2006)
New Revision: 10337

Modified:
   trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
Log:
Don't tell the user about a new build being available until it is actually 
ready to deploy, EVEN IF they have advanced darknet enabled !
(Since it could imply that restarting the node will get the new build).

Modified: trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java  2006-09-01 
21:26:59 UTC (rev 10336)
+++ trunk/freenet/src/freenet/clients/http/WelcomeToadlet.java  2006-09-01 
21:27:10 UTC (rev 10337)
@@ -372,10 +372,6 @@
                versionContent.addChild("br");
                versionContent.addChild("#", "Freenet-ext Build #" + 
NodeStarter.extBuildNumber + " r" + NodeStarter.extRevisionNumber);
                versionContent.addChild("br");
-               if((Version.buildNumber() < Version.highestSeenBuild) && 
advancedDarknetOutputEnabled) {
-                       versionContent.addChild("b", "A newer version is 
available! (Build #" + Version.highestSeenBuild + ")");
-                       versionContent.addChild("br");
-               }
                HTMLNode shutdownForm = versionContent.addChild("form", new 
String[] { "action", "method" }, new String[] { ".", "post" });
                shutdownForm.addChild("input", new String[] { "type", "name", 
"value" }, new String[] { "hidden", "exit", "true" });
                shutdownForm.addChild("input", new String[] { "type", "value" 
}, new String[] { "submit", "Shutdown the node" });


Reply via email to