Merge branch 'saas-dev' into saas-speedy
This commit is contained in:
commit
8b380086c3
32 changed files with 4981 additions and 1287 deletions
|
@ -13,7 +13,6 @@ class DashboardController extends Zend_Controller_Action
|
|||
|
||||
public function indexAction()
|
||||
{
|
||||
// action body
|
||||
}
|
||||
|
||||
public function disconnectSourceAction()
|
||||
|
|
|
@ -32,12 +32,15 @@ class ProvisioningController extends Zend_Controller_Action
|
|||
|
||||
try {
|
||||
// This is hacky and should be genericized
|
||||
if ($_POST['station_name']) {
|
||||
if (isset($_POST['station_name'])) {
|
||||
Application_Model_Preference::SetStationName($_POST['station_name']);
|
||||
}
|
||||
if ($_POST['description']) {
|
||||
if (isset($_POST['description'])) {
|
||||
Application_Model_Preference::SetStationDescription($_POST['description']);
|
||||
}
|
||||
if (isset($_POST['provisioning_status'])) {
|
||||
Application_Model_Preference::setProvisioningStatus($_POST['provisioning_status']);
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
$this->getResponse()
|
||||
->setHttpResponseCode(400)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue