I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 78899830 authored by ragnarok's avatar ragnarok Committed by zzz
Browse files

* Fixed bugs preventing the use of fetchSelectedBulk in the updater

parent 2f8a2879
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,9 @@ public class Updater {
if (rab.getRemoteIndex() != null) {
_log.debug("Index fetched, getting new entries.");
HashMap parameters = new HashMap();
parameters.put("action", "Fetch all new entries");
//rab.fetchSelectedBulk(user, parameters);
rab.fetchAllEntries(user, parameters);
parameters.put("action", new String[] {"Fetch all new entries"});
rab.fetchSelectedBulk(user, parameters);
_log.debug(rab.getStatus());
_log.debug("Update finished.");
} else {
_log.debug("Index fetch failed.");
......
......@@ -552,6 +552,8 @@ public class ArchiveViewerBean {
return (String)c.iterator().next();
else
return null;
} else if (vals instanceof String) {
return (String)vals;
} else {
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment