fixed default and override URL settings and removed unused validation

This commit is contained in:
Robb Ebright 2017-03-16 10:18:43 -04:00
parent f31236fe66
commit 4c8f2ad435
4 changed files with 23 additions and 53 deletions

View file

@ -264,7 +264,6 @@ class PreferenceController extends Zend_Controller_Action
// pulling this from the 2.5.x branch
if (!Application_Model_Preference::GetMasterDjConnectionUrlOverride()) {
$master_connection_url = "http://".$_SERVER['SERVER_NAME'].":".$values["master_source_port"].$values["master_source_mount"];
if (empty($values["master_source_port"]) || empty($values["master_source_port"])) {
Application_Model_Preference::SetMasterDJSourceConnectionURL('N/A');
} else {