public function validate($data) { parent::validate($data); $step = install_get_step(3); if ($this->isStrictMode($step)) { throw new \RuntimeException(__t('mysql_strict_mode_warning')); } }
public function run($formData, $step, &$state) { $response = parent::run($formData, $step, $state); $_SESSION['install_locale'] = $response->getData('lang_code'); return $response; }