/** * @see Form::save() */ public function save() { ACPForm::save(); // save $this->warning->update($this->title, $this->points, $this->expiresHour * 3600 + $this->expiresDay * 86400 + $this->expiresWeek * 86400 * 7); $this->saved(); // show success message WCF::getTPL()->assign('success', true); }