cleanup
This commit is contained in:
parent
d12f793578
commit
b1160afeab
|
@ -247,12 +247,9 @@ class PreferenceController extends Zend_Controller_Action
|
||||||
/* If the admin password values are empty then we should not
|
/* If the admin password values are empty then we should not
|
||||||
* set the pseudo password ('xxxxxx') on the front-end
|
* set the pseudo password ('xxxxxx') on the front-end
|
||||||
*/
|
*/
|
||||||
$s1_set_admin_pass = true;
|
$s1_set_admin_pass = !empty($values["s1_data"]["admin_pass"]);
|
||||||
$s2_set_admin_pass = true;
|
$s2_set_admin_pass = !empty($values["s2_data"]["admin_pass"]);
|
||||||
$s3_set_admin_pass = true;
|
$s3_set_admin_pass = !empty($values["s3_data"]["admin_pass"]);
|
||||||
if (empty($values["s1_data"]["admin_pass"])) $s1_set_admin_pass = false;
|
|
||||||
if (empty($values["s2_data"]["admin_pass"])) $s2_set_admin_pass = false;
|
|
||||||
if (empty($values["s3_data"]["admin_pass"])) $s3_set_admin_pass = false;
|
|
||||||
|
|
||||||
// this goes into cc_pref table
|
// this goes into cc_pref table
|
||||||
Application_Model_Preference::SetStreamLabelFormat($values['streamFormat']);
|
Application_Model_Preference::SetStreamLabelFormat($values['streamFormat']);
|
||||||
|
|
Loading…
Reference in New Issue