Revert for the moment as it breaks pubsub handling

This commit is contained in:
Athou
2013-05-30 11:52:40 +02:00
parent 34d47b3250
commit 4da9fca7ea
6 changed files with 13 additions and 16 deletions

View File

@@ -29,7 +29,6 @@ import com.commafeed.backend.model.FeedSubscription;
import com.commafeed.backend.pubsubhubbub.SubscriptionHandler;
import com.commafeed.backend.services.ApplicationSettingsService;
import com.commafeed.backend.services.FeedUpdateService;
import com.google.common.collect.Iterables;
import com.google.common.util.concurrent.Striped;
@Singleton
@@ -158,7 +157,7 @@ public class FeedRefreshUpdater {
}
private void handlePubSub(final Feed feed) {
FeedPushInfo info = Iterables.getFirst(feed.getPushInfo(), null);
FeedPushInfo info = feed.getPushInfo();
if (info != null && info.isActive() == false) {
new Thread() {
@Override