aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-13 21:45:23 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-13 21:45:23 +0200
commit82221ac920ad2e6bafc742a09fa1636899d4173e (patch)
tree4c7928dd457d9e3b223bd2835ae0d23cd3c87d41 /server
parent0b10407e465d639cd141fe8821a8504a0b7b83fb (diff)
downloadPeerTube-82221ac920ad2e6bafc742a09fa1636899d4173e.tar.gz
PeerTube-82221ac920ad2e6bafc742a09fa1636899d4173e.tar.zst
PeerTube-82221ac920ad2e6bafc742a09fa1636899d4173e.zip
Update clean script
Diffstat (limited to 'server')
-rw-r--r--server/controllers/api/v1/videos.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/controllers/api/v1/videos.js b/server/controllers/api/v1/videos.js
index 70d22f139..d633af76d 100644
--- a/server/controllers/api/v1/videos.js
+++ b/server/controllers/api/v1/videos.js
@@ -116,9 +116,6 @@ function addVideo (req, res, next) {
116 116
117 ], function andFinally (err) { 117 ], function andFinally (err) {
118 if (err) { 118 if (err) {
119 // TODO unseed the video
120 // TODO remove thumbnail
121 // TODO delete from DB
122 logger.error('Cannot insert the video.') 119 logger.error('Cannot insert the video.')
123 return next(err) 120 return next(err)
124 } 121 }