Node.js based forum software built for the modern web
fix broken upgrade script
Julian Lamb25fbd1e2e13
diff --git a/src/upgrades/1.3.0/favourites_to_bookmarks.js b/src/upgrades/1.3.0/favourites_to_bookmarks.jsindex bbdc09ec4c..065f02c94a 100644--- a/src/upgrades/1.3.0/favourites_to_bookmarks.js+++ b/src/upgrades/1.3.0/favourites_to_bookmarks.js@@ -10,9 +10,10 @@ module.exports = {name: 'Favourites to Bookmarks',timestamp: Date.UTC(2016, 9, 8),method: function (callback) {+ var progress = this.progress;+function upgradePosts(next) {var batch = require('../../batch');- var progress = this.progress;batch.processSortedSet('posts:pid', function (ids, next) {async.each(ids, function (id, next) {