Mercurial > psgxs
comparison storage.js @ 52:296de54c1c4b
Rollback last commit error and fix typo error.
author | Sonny Piers <sonny.piers@gmail.com> |
---|---|
date | Mon, 21 Mar 2011 16:30:14 +0100 |
parents | e6c2c66c2002 |
children | 99bd1d1ac071 |
comparison
equal
deleted
inserted
replaced
51:22b06eade9a7 | 52:296de54c1c4b |
---|---|
393 if(node.publishOnly[i] == jid) | 393 if(node.publishOnly[i] == jid) |
394 return node.publishOnly.splice(i, 1); | 394 return node.publishOnly.splice(i, 1); |
395 for (var i in node.member) | 395 for (var i in node.member) |
396 if(node.member[i] == jid) | 396 if(node.member[i] == jid) |
397 return node.member.splice(i, 1); | 397 return node.member.splice(i, 1); |
398 })() | 398 })(); |
399 } | 399 } |
400 | 400 |
401 storage.save(); | 401 storage.save(); |
402 return errors.success; | 402 return errors.success; |
403 }; | 403 }; |