parent::save();
// save server
- $languageServerAction = new LanguageServerAction(array(), 'create', array('data' => array(
+ $this->objectAction = new LanguageServerAction(array(), 'create', array('data' => array(
'serverURL' => $this->server
)));
- $languageServerAction->executeAction();
+ $this->objectAction->executeAction();
$this->saved();
// reset values
AbstractForm::save();
// save server
- $languageServerAction = new LanguageServerAction(array($this->languageServerID), 'update', array('data' => array(
+ $this->objectAction = new LanguageServerAction(array($this->languageServerID), 'update', array('data' => array(
'serverURL' => $this->server
)));
- $languageServerAction->executeAction();
+ $this->objectAction->executeAction();
$this->saved();
// show success message