Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/synchronizer.js

Issue 29886685: Issue 6856 - Remove FilterStorage.moveSubscription (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Address PS7 comments Created Oct. 2, 2018, 4:09 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/filterStorage.js ('k') | test/filterStorage.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/synchronizer.js
===================================================================
--- a/lib/synchronizer.js
+++ b/lib/synchronizer.js
@@ -90,17 +90,17 @@
* downloaded.
* @yields {Downloadable}
*/
*_getDownloadables()
{
if (!Prefs.subscriptions_autoupdate)
return;
- for (let subscription of FilterStorage.subscriptions)
+ for (let subscription of FilterStorage.subscriptions())
{
if (subscription instanceof DownloadableSubscription)
yield this._getDownloadable(subscription, false);
}
}
/**
* Creates a {@link Downloadable} instance for a subscription.
« no previous file with comments | « lib/filterStorage.js ('k') | test/filterStorage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld