Merge remote-tracking branch 'origin/master' into webserver.js-refactor

v1.18.x
psychobunny 11 years ago
commit c5066ed100

@ -864,6 +864,12 @@ Upgrade.upgrade = function(callback) {
if(err) {
return next(err);
}
// If there was no order present, put it at the end
if (!order) {
order = cids.length;
}
db.sortedSetAdd('categories:cid', order, cid, next);
});
}, function(err) {

Loading…
Cancel
Save