diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-20 19:22:15 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-20 19:22:15 +0100 |
commit | 4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127 (patch) | |
tree | bcef1232a565ceaf3d43415a0b08e53e30c236d7 /server/helpers/database-utils.js | |
parent | 872a4c7cea861246cf84fa3686bd9d40c684535f (diff) | |
download | PeerTube-4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127.tar.gz PeerTube-4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127.tar.zst PeerTube-4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127.zip |
Client: add ability to report a video
Diffstat (limited to 'server/helpers/database-utils.js')
-rw-r--r-- | server/helpers/database-utils.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/helpers/database-utils.js b/server/helpers/database-utils.js index 6fe7e99aa..c72d19429 100644 --- a/server/helpers/database-utils.js +++ b/server/helpers/database-utils.js | |||
@@ -61,7 +61,6 @@ function transactionRetryer (func, callback) { | |||
61 | } | 61 | } |
62 | 62 | ||
63 | function startSerializableTransaction (callback) { | 63 | function startSerializableTransaction (callback) { |
64 | console.log(db) | ||
65 | db.sequelize.transaction({ isolationLevel: 'SERIALIZABLE' }).asCallback(function (err, t) { | 64 | db.sequelize.transaction({ isolationLevel: 'SERIALIZABLE' }).asCallback(function (err, t) { |
66 | // We force to return only two parameters | 65 | // We force to return only two parameters |
67 | return callback(err, t) | 66 | return callback(err, t) |