Author: toad
Date: 2007-02-11 00:39:32 +0000 (Sun, 11 Feb 2007)
New Revision: 11758
Modified:
trunk/freenet/src/freenet/clients/http/QueueToadlet.java
Log:
Store persistent requests after changing priority, deleting requests through
the web interface
Modified: trunk/freenet/src/freenet/clients/http/QueueToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/QueueToadlet.java 2007-02-11
00:25:06 UTC (rev 11757)
+++ trunk/freenet/src/freenet/clients/http/QueueToadlet.java 2007-02-11
00:39:32 UTC (rev 11758)
@@ -114,6 +114,7 @@
}
}
}
+ fcp.forceStorePersistentRequests();
writePermanentRedirect(ctx, "Done", "/queue/");
return;
} else if(request.isPartSet("remove_AllRequests") &&
(request.getPartAsString("remove_AllRequests", 32).length() > 0)) {
@@ -139,6 +140,7 @@
this.sendErrorPage(ctx, 200, "Failed to
remove request", "Failed to remove " + failedIdentifiers);
else
writePermanentRedirect(ctx, "Done",
"/queue/");
+ fcp.forceStorePersistentRequests();
return;
}else if(request.isPartSet("download")) {
// Queue a download
@@ -174,6 +176,7 @@
}
}
writePermanentRedirect(ctx, "Done", "/queue/");
+ fcp.forceStorePersistentRequests();
return;
} else if (request.getPartAsString("insert",
128).length() > 0) {
FreenetURI insertURI;