diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-02-07 12:05:49 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-02-07 12:05:49 +0100 |
commit | 0812c0772285774bc115f1ba32cdba7042ab3033 (patch) | |
tree | 2551eefd8ee7356d4f8eec29b59598db8d0ed73f | |
parent | 1bfd1a920f2df891ecd50e3a7ae8dca3bc8746b4 (diff) | |
download | PeerTube-0812c0772285774bc115f1ba32cdba7042ab3033.tar.gz PeerTube-0812c0772285774bc115f1ba32cdba7042ab3033.tar.zst PeerTube-0812c0772285774bc115f1ba32cdba7042ab3033.zip |
Remove unecessary TODO
-rw-r--r-- | models/videos.js | 1 | ||||
-rw-r--r-- | public/javascripts/index.js | 1 |
2 files changed, 0 insertions, 2 deletions
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) { | |||
180 | } | 180 | } |
181 | 181 | ||
182 | function removeAllRemotesOf (fromUrl, callback) { | 182 | function removeAllRemotesOf (fromUrl, callback) { |
183 | // TODO { podUrl: { $in: urls } } | ||
184 | VideosDB.remove({ podUrl: fromUrl }, callback) | 183 | VideosDB.remove({ podUrl: fromUrl }, callback) |
185 | } | 184 | } |
186 | 185 | ||
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 @@ | |||
99 | 99 | ||
100 | // Remove the video | 100 | // Remove the video |
101 | $remove.on('click', function () { | 101 | $remove.on('click', function () { |
102 | // TODO | ||
103 | if (!confirm('Are you sure ?')) return | 102 | if (!confirm('Are you sure ?')) return |
104 | 103 | ||
105 | removeVideo(video) | 104 | removeVideo(video) |