From: Chocobozzz Date: Sun, 7 Feb 2016 11:05:49 +0000 (+0100) Subject: Remove unecessary TODO X-Git-Tag: v0.0.1-alpha~1035 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=0812c0772285774bc115f1ba32cdba7042ab3033;p=github%2FChocobozzz%2FPeerTube.git Remove unecessary TODO --- diff --git a/models/videos.js b/models/videos.js index 4da389c24..5e2eeae07 100644 --- a/models/videos.js +++ b/models/videos.js @@ -180,7 +180,6 @@ function removeAllRemotes (callback) { } function removeAllRemotesOf (fromUrl, callback) { - // TODO { podUrl: { $in: urls } } VideosDB.remove({ podUrl: fromUrl }, callback) } diff --git a/public/javascripts/index.js b/public/javascripts/index.js index 3a02367c8..4910e4540 100644 --- a/public/javascripts/index.js +++ b/public/javascripts/index.js @@ -99,7 +99,6 @@ // Remove the video $remove.on('click', function () { - // TODO if (!confirm('Are you sure ?')) return removeVideo(video)