Set ok default to false

This commit is contained in:
Geoffroy Lesage 2015-01-15 16:09:47 -06:00
parent 0511830a12
commit 0772223908
1 changed files with 1 additions and 1 deletions

View File

@ -692,7 +692,7 @@ MySQL.prototype.createTable = function (model, cb) {
*/ */
MySQL.prototype.isActual = function(models, cb) { MySQL.prototype.isActual = function(models, cb) {
var self = this; var self = this;
var ok; var ok = false;
if ((!cb) && ('function' === typeof models)) { if ((!cb) && ('function' === typeof models)) {
cb = models; cb = models;