feat(restore): add restore-gp back in. Parly to end the winter event,
partly due to the convo at #2681 regarding subscriptions. Fixes #2681
This commit is contained in:
@@ -166,9 +166,11 @@ acceptablePUTPaths = _.reduce(require('./../models/user').schema.paths, function
|
||||
if (found) m[leaf]=true;
|
||||
return m;
|
||||
}, {})
|
||||
_.each('stats.gp'.split(' '), function(removePath){
|
||||
delete acceptablePUTPaths[removePath];
|
||||
})
|
||||
|
||||
//// Uncomment this if we we want to disable GP-restoring (eg, holiday events)
|
||||
//_.each('stats.gp'.split(' '), function(removePath){
|
||||
// delete acceptablePUTPaths[removePath];
|
||||
//})
|
||||
|
||||
/**
|
||||
* Update user
|
||||
|
||||
Reference in New Issue
Block a user