Renamed media type to track type for tracks

This commit is contained in:
Codenift 2020-01-06 17:15:04 -05:00
parent 3338e9289a
commit 386918da2b
23 changed files with 111 additions and 111 deletions

View file

@ -350,19 +350,19 @@ class FileDataHelper {
}
/**
* Media Type
* Track Type
*
* @return string Media type key value
* @return string Track type key value
*/
public static function saveMediaType()
public static function saveTrackType()
{
if (isset($_COOKIE['mt_upload'])) {
$mt = $_COOKIE['mt_upload'];
if (isset($_COOKIE['tt_upload'])) {
$tt = $_COOKIE['tt_upload'];
} else {
// Use default media type
$mt = "MUS";
// Use default track type
$tt = "MUS";
}
return $mt;
return $tt;
}
}