Remove debug line

This commit is contained in:
Dragory 2020-05-13 07:54:54 +03:00
parent b83122365a
commit 976a1c8d50
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -10,7 +10,7 @@ export function connect() {
connectionPromise = createConnection().then(newConnection => {
// Verify the DB timezone is set to UTC
return newConnection.query("SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP) AS tz").then(r => {
if (r[0].tz !== "00:00:00") {
if (r[0].tz !== "00:00:00" || true) {
throw new SimpleError(`Database timezone must be UTC (detected ${r[0].tz})`);
}