aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-20 19:22:15 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-20 19:22:15 +0100
commit4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127 (patch)
treebcef1232a565ceaf3d43415a0b08e53e30c236d7 /server
parent872a4c7cea861246cf84fa3686bd9d40c684535f (diff)
downloadPeerTube-4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127.tar.gz
PeerTube-4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127.tar.zst
PeerTube-4f8c0eb0e9356ee2782ea6eb12a92e4dc5f66127.zip
Client: add ability to report a video
Diffstat (limited to 'server')
-rw-r--r--server/helpers/database-utils.js1
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
63function startSerializableTransaction (callback) { 63function 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)