hash change

v1.18.x
Baris Usakli 12 years ago
parent 478479658f
commit 8b13048ec1

@ -34,7 +34,7 @@ var RDB = require('./../redis.js'),
var category = modified[cid]; var category = modified[cid];
for (var key in category) { for (var key in category) {
RDB.set('cid:' + cid + ':' + key, category[key]); RDB.hset('category:' + cid, key, category[key]);
if (key == 'name') { if (key == 'name') {
// reset slugs if name is updated // reset slugs if name is updated

Loading…
Cancel
Save