From 8e11bc30a22e5f2fd9e5a62ab68ec3f8757f1904 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kasper=20Rynning-T=C3=B8nnesen?= Date: Mon, 12 Dec 2016 18:51:33 +0100 Subject: [PATCH] Delete update_lists.php --- public/php/update_lists.php | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100755 public/php/update_lists.php diff --git a/public/php/update_lists.php b/public/php/update_lists.php deleted file mode 100755 index ae7ae14a..00000000 --- a/public/php/update_lists.php +++ /dev/null @@ -1,37 +0,0 @@ - - -promp - - - 0) - { - $array = array("nowPlaying" => array(), "songs" => array(), "conf" => array("startTime" => time(), "views" => 0, "skips" => array())); - for($i = 0; $i < count($data[0]); $i++) - { - if($i > 0) - { - - $arr = "songs"; - } - else{ - $arr = "nowPlaying"; - } - $array[$arr][$data[0][0]] = array("id" => $data[0][0], "title" => str_replace("\"", "\'", $data[3][0]), "votes" => 0, "added" => time(), "guids" => array()); - array_shift($data[0]); - array_shift($data[3]); - } - file_put_contents("../oldFiles/".$list, json_encode($array)); - echo $list."\n"; - } - } - } -?> - -