minor code clean-up
This commit is contained in:
parent
1a9daa52dd
commit
9fe31a5923
2 changed files with 44 additions and 47 deletions
|
@ -264,6 +264,7 @@ 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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue