From: David ‘Bombe’ Roden Date: Tue, 4 Nov 2014 18:45:25 +0000 (+0100) Subject: Don’t load bookmarks from core anymore. X-Git-Tag: 0.9-rc1^2~3^2~50 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=10cf6b7763dac7e48768114e910209231461ffe3;p=Sone.git Don’t load bookmarks from core anymore. --- diff --git a/src/main/java/net/pterodactylus/sone/core/Core.java b/src/main/java/net/pterodactylus/sone/core/Core.java index 87f59c2..c00a635 100644 --- a/src/main/java/net/pterodactylus/sone/core/Core.java +++ b/src/main/java/net/pterodactylus/sone/core/Core.java @@ -1663,17 +1663,6 @@ public class Core extends AbstractService implements SoneProvider, PostProvider, } ++soneCounter; } - - /* load bookmarked posts. */ - int bookmarkedPostCounter = 0; - while (true) { - String bookmarkedPostId = configuration.getStringValue("Bookmarks/Post/" + bookmarkedPostCounter++ + "/ID").getValue(null); - if (bookmarkedPostId == null) { - break; - } - database.bookmarkPost(bookmarkedPostId); - } - } /**