protected function OnSuccess()
    {
        $this->settings->SetLogLifetime((int)$this->Value('LogLifetime'));
        $this->settings->SetChangeRequestLifetime($this->Value('ChangeRequestLifetime'));
        $this->settings->SetMailFromEMail($this->Value('MailFromEMail'));
        $this->settings->SetMailFromName($this->Value('MailFromName'));
        $this->settings->SetSmtpHost($this->Value('SmtpHost'));
        $this->settings->SetSmtpPort($this->Value('SmtpPort'));
        $this->settings->SetSmtpUser($this->Value('SmtpUser'));
        $this->settings->SetSmtpPassword($this->Value('SmtpPassword'));
        $this->settings->SetSmtpSecurity($this->Value('SmtpSecurity'));
        $this->settings->Save();
        Response::Redirect($this->BackLink());
    }
protected function OnSuccess()
    {
        $this->settings->SetLogLifetime((int)$this->Value('LogLifetime'));
        $this->settings->SetChangeRequestLifetime($this->Value('ChangeRequestLifetime'));
        $this->settings->SetMailFromEMail($this->Value('MailFromEMail'));
        $this->settings->SetMailFromName($this->Value('MailFromName'));
        $this->settings->SetSmtpHost($this->Value('SmtpHost'));
        $this->settings->SetSmtpPort($this->Value('SmtpPort'));
        $this->settings->SetSmtpUser($this->Value('SmtpUser'));
        $this->settings->SetSmtpPassword($this->Value('SmtpPassword'));
        $this->settings->SetSmtpSecurity($this->Value('SmtpSecurity'));
        $this->settings->Save();
        Response::Redirect($this->BackLink());
    }
protected function OnSuccess ( ) { $ this -> settings -> SetLogLifetime ( ( int ) $ this -> Value ( 'LogLifetime' ) ) ; $ this -> settings -> SetChangeRequestLifetime ( $ this -> Value ( 'ChangeRequestLifetime' ) ) ; $ this -> settings -> SetMailFromEMail ( $ this -> Value ( 'MailFromEMail' ) ) ; $ this -> settings -> SetMailFromName ( $ this -> Value ( 'MailFromName' ) ) ; $ this -> settings -> SetSmtpHost ( $ this -> Value ( 'SmtpHost' ) ) ; $ this -> settings -> SetSmtpPort ( $ this -> Value ( 'SmtpPort' ) ) ; $ this -> settings -> SetSmtpUser ( $ this -> Value ( 'SmtpUser' ) ) ; $ this -> settings -> SetSmtpPassword ( $ this -> Value ( 'SmtpPassword' ) ) ; $ this -> settings -> SetSmtpSecurity ( $ this -> Value ( 'SmtpSecurity' ) ) ; $ this -> settings -> Save ( ) ; Response :: Redirect ( $ this -> BackLink ( ) ) ; }
Saves the settings
Saves the settings