Permalink
Browse files

Update lib/persistence.store.mysql.js

  • Loading branch information...
1 parent 1020621 commit c6a364ca641b038c0d46c564538f2f2ef1c62500 @jacobmumm committed Nov 18, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/persistence.store.mysql.js
@@ -4,7 +4,7 @@
* Easy install using npm:
* npm install mysql
*/
-var sys = require('sys');
+var sys = require('util');
var sql = require('./persistence.store.sql');
var mysql = require('mysql');
@@ -47,7 +47,9 @@ exports.config = function(persistence, hostname, port, db, username, password) {
//conn._connection.destroy();
};
session.conn = conn;
- if(cb) cb();
+ if(cb) {
+ cb();
+ }
return session;
};

0 comments on commit c6a364c

Please sign in to comment.