refactor(playout): remove unused check_version

This commit is contained in:
jo 2023-02-20 20:22:16 +01:00 committed by Kyle Robbertze
parent c95733191a
commit 0eced23e4e
1 changed files with 0 additions and 5 deletions

View File

@ -23,11 +23,6 @@ just_switched = ref false
sources = ref []
source_id = ref 0
def check_version(~version=liquidsoap.version, major, minor) =
v = list.map(int_of_string, string.split(separator="\.", version))
list.nth(v,0,default=0) > major or list.nth(v,0,default=0) == major and list.nth(v,1,default=0) >= minor
end
def create_source()
l = request.equeue(id="s#{!source_id}", length=0.5)