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:
Tyler Renelle
2014-01-31 12:54:37 -07:00
parent 4ba5a9cf26
commit 179316e10f
2 changed files with 9 additions and 7 deletions
+5 -3
View File
@@ -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