mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-04-14 05:16:35 -04:00
23 lines
571 B
PHP
23 lines
571 B
PHP
<?php
|
|
|
|
/* Icinga DB Web | (c) 2021 Icinga GmbH | GPLv2 */
|
|
|
|
namespace Icinga\Module\Icingadb\Forms;
|
|
|
|
class SetAsBackendForm extends SetAsBackendConfigForm
|
|
{
|
|
public function init()
|
|
{
|
|
$this->setName('IcingaModuleIcingadbFormsSetAsBackendForm');
|
|
$this->setTokenDisabled();
|
|
// If you change name here, please change in migration.js also.
|
|
}
|
|
|
|
public function createElements(array $formData)
|
|
{
|
|
parent::createElements([]);
|
|
|
|
$this->removeElement('btn_submit');
|
|
$this->removeElement('btn_submit_session');
|
|
}
|
|
}
|