aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-04 21:15:57 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-04 21:15:57 +0100
commitb981a525c37d226b3fa59287a6ce338f54583d0c (patch)
tree5e97fd8a07b8f8018d87572523a1843c27ab991d /server/models/video.js
parent55fa55a9be566cca2ba95322f2ae23b434aed62a (diff)
downloadPeerTube-b981a525c37d226b3fa59287a6ce338f54583d0c.tar.gz
PeerTube-b981a525c37d226b3fa59287a6ce338f54583d0c.tar.zst
PeerTube-b981a525c37d226b3fa59287a6ce338f54583d0c.zip
Server: we don't need the video name when removing a remote video
Diffstat (limited to 'server/models/video.js')
-rw-r--r--server/models/video.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/models/video.js b/server/models/video.js
index 4c197a835..b3060705d 100644
--- a/server/models/video.js
+++ b/server/models/video.js
@@ -218,7 +218,6 @@ function afterDestroy (video, options, next) {
218 218
219 function (callback) { 219 function (callback) {
220 const params = { 220 const params = {
221 name: video.name,
222 remoteId: video.id 221 remoteId: video.id
223 } 222 }
224 223