removed debugging commands
This commit is contained in:
parent
102e246c6d
commit
b0656ffcea
1 changed files with 1 additions and 5 deletions
|
@ -179,13 +179,9 @@ bool Servatrice::userExists(const QString &user)
|
||||||
QSqlQuery query;
|
QSqlQuery query;
|
||||||
query.prepare("select 1 from " + dbPrefix + "_users where name = :name");
|
query.prepare("select 1 from " + dbPrefix + "_users where name = :name");
|
||||||
query.bindValue(":name", user);
|
query.bindValue(":name", user);
|
||||||
qDebug() << "a";
|
|
||||||
if (!execSqlQuery(query))
|
if (!execSqlQuery(query))
|
||||||
return false;
|
return false;
|
||||||
qDebug() << "b";
|
return query.next();
|
||||||
bool res = query.next();
|
|
||||||
qDebug() << res << user;
|
|
||||||
return res;
|
|
||||||
} else return false;
|
} else return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue