diff --git a/app/devices/app_config.php b/app/devices/app_config.php index a47eb28a9e..9dbc81d171 100644 --- a/app/devices/app_config.php +++ b/app/devices/app_config.php @@ -201,6 +201,7 @@ $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "phone_time_zone"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; + $apps[$x]['db'][$y]['fields'][$z]['deprecated'] = "true"; $z++; $apps[$x]['db'][$y]['fields'][$z]['name']['text'] = "device_description"; $apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = "phone_description"; diff --git a/app/devices/app_languages.php b/app/devices/app_languages.php index 1e67639319..2660946a8d 100644 --- a/app/devices/app_languages.php +++ b/app/devices/app_languages.php @@ -216,17 +216,6 @@ $text['description-password']['pt-pt'] = "Introduza a password."; $text['description-password']['fr-fr'] = "Entrez le mot de passe."; - - $text['label-device_time_zone']['en-us'] = "Time Zone"; - $text['label-device_time_zone']['es-cl'] = "Zona Horaria"; - $text['label-device_time_zone']['pt-pt'] = "Time Zone"; - $text['label-device_time_zone']['fr-fr'] = "Fuseau Horaire"; - - $text['description-device_time_zone']['en-us'] = "Enter the time zone."; - $text['description-device_time_zone']['es-cl'] = "Ingrese una zona horaria."; - $text['description-device_time_zone']['pt-pt'] = "Introduza o time zone."; - $text['description-device_time_zone']['fr-fr'] = "Entrez le fuseau horaire."; - $text['label-device_description']['en-us'] = "Description"; $text['label-device_description']['es-cl'] = "Descripción"; $text['label-device_description']['pt-pt'] = "Descrição"; diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index e36b7a893f..c5d5e34f31 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -66,7 +66,6 @@ require_once "resources/require.php"; $device_firmware_version = check_str($_POST["device_firmware_version"]); $device_provision_enable = check_str($_POST["device_provision_enable"]); $device_template = check_str($_POST["device_template"]); - $device_time_zone = check_str($_POST["device_time_zone"]); $device_description = check_str($_POST["device_description"]); //lines $line_number = check_str($_POST["line_number"]); @@ -112,7 +111,6 @@ require_once "resources/require.php"; //if (strlen($device_template) == 0) { $msg .= "Please provide: Template
\n"; } //if (strlen($device_username) == 0) { $msg .= "Please provide: Username
\n"; } //if (strlen($device_password) == 0) { $msg .= "Please provide: Password
\n"; } - //if (strlen($device_time_zone) == 0) { $msg .= "Please provide: Time Zone
\n"; } //if (strlen($device_description) == 0) { $msg .= "Please provide: Description
\n"; } if (strlen($msg) > 0) { require_once "resources/header.php"; @@ -264,7 +262,6 @@ require_once "resources/require.php"; $device_firmware_version = $row["device_firmware_version"]; $device_provision_enable = $row["device_provision_enable"]; $device_template = $row["device_template"]; - $device_time_zone = $row["device_time_zone"]; $device_description = $row["device_description"]; } unset ($prep_statement); @@ -959,17 +956,6 @@ require_once "resources/require.php"; echo "\n"; echo "\n"; - echo "\n"; - echo "\n"; - echo " ".$text['label-device_time_zone'].":\n"; - echo "\n"; - echo "\n"; - echo " \n"; - echo "
\n"; - echo $text['description-device_time_zone']."\n"; - echo "\n"; - echo "\n"; - echo "\n"; echo "\n"; echo " ".$text['label-device_description'].":\n";