diff -r 2fdc9cc89502 -r d879bab39600 org/sonews/feed/FeedManager.java --- a/org/sonews/feed/FeedManager.java Wed Jul 22 14:04:05 2009 +0200 +++ b/org/sonews/feed/FeedManager.java Tue Apr 27 22:11:30 2010 +0200 @@ -18,10 +18,7 @@ package org.sonews.feed; -import java.util.List; import org.sonews.storage.Article; -import org.sonews.storage.StorageBackendException; -import org.sonews.storage.StorageManager; /** * Controlls push and pull feeder. @@ -42,22 +39,8 @@ * PullFeeder or PushFeeder. */ public static synchronized void startFeeding() - throws StorageBackendException { - List subsPull = StorageManager.current() - .getSubscriptions(TYPE_PULL); - for(Subscription sub : subsPull) - { - pullFeeder.addSubscription(sub); - } pullFeeder.start(); - - List subsPush = StorageManager.current() - .getSubscriptions(TYPE_PUSH); - for(Subscription sub : subsPush) - { - pushFeeder.addSubscription(sub); - } pushFeeder.start(); }