aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
commitc4403b29ad4db097af528a7f04eea07e0ed320d0 (patch)
treec7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/models/video.js
parent9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff)
downloadPeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.gz
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.zst
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.zip
Server: remove useless hash affectations
Diffstat (limited to 'server/models/video.js')
-rw-r--r--server/models/video.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/server/models/video.js b/server/models/video.js
index 0f60b6cd4..b9999c8f6 100644
--- a/server/models/video.js
+++ b/server/models/video.js
@@ -47,22 +47,22 @@ VideoSchema.path('thumbnail').validate(function (value) {
47VideoSchema.path('tags').validate(customVideosValidators.isVideoTagsValid) 47VideoSchema.path('tags').validate(customVideosValidators.isVideoTagsValid)
48 48
49VideoSchema.methods = { 49VideoSchema.methods = {
50 isOwned: isOwned, 50 isOwned,
51 toFormatedJSON: toFormatedJSON, 51 toFormatedJSON,
52 toRemoteJSON: toRemoteJSON 52 toRemoteJSON
53} 53}
54 54
55VideoSchema.statics = { 55VideoSchema.statics = {
56 getDurationFromFile: getDurationFromFile, 56 getDurationFromFile,
57 listForApi: listForApi, 57 listForApi,
58 listByUrlAndMagnet: listByUrlAndMagnet, 58 listByUrlAndMagnet,
59 listByUrls: listByUrls, 59 listByUrls,
60 listOwned: listOwned, 60 listOwned,
61 listOwnedByAuthor: listOwnedByAuthor, 61 listOwnedByAuthor,
62 listRemotes: listRemotes, 62 listRemotes,
63 load: load, 63 load,
64 search: search, 64 search,
65 seedAllExisting: seedAllExisting 65 seedAllExisting
66} 66}
67 67
68VideoSchema.pre('remove', function (next) { 68VideoSchema.pre('remove', function (next) {