+ Very start of theme support. Various changes

This commit is contained in:
NuSkooler 2014-10-26 22:06:41 -06:00
parent 46875ccddd
commit 8119c1688a
8 changed files with 95 additions and 34 deletions

View file

@ -121,12 +121,13 @@ function createNew(user, cb) {
],
function onComplete(err) {
if(err) {
var originalError = err;
userDb.run('ROLLBACK;', function onRollback(err) {
cb(err);
assert(!err);
cb(originalError);
});
} else {
userDb.run('COMMIT;', function onCommit(err) {
if(err) {
cb(err);
} else {