mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Remove deprecated server code
This commit is contained in:
parent
11fd3a4618
commit
3842a527f6
39 changed files with 40 additions and 173 deletions
|
@ -66,7 +66,7 @@ function cacheFileActivityObjectToDBAttributes (cacheFileObject: CacheFileObject
|
|||
}
|
||||
|
||||
const url = cacheFileObject.url
|
||||
const urlFPS = exists(url.fps) // TODO: compat with < 6.1, remove in 7.0
|
||||
const urlFPS = exists(url.fps) // TODO: compat with < 6.1, remove in 8.0
|
||||
? url.fps
|
||||
: url['_:fps']
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ function getViewerResultCounter (activity: ActivityView) {
|
|||
return counter
|
||||
}
|
||||
|
||||
// TODO: compat with < 6.1, remove in 7.0
|
||||
// TODO: compat with < 6.1, remove in 8.0
|
||||
function getExpires (activity: ActivityView) {
|
||||
return activity.expires || activity['expiration'] as string
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue