mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-20 23:00:16 -05:00
BpConfigForm: fix redirect url, web2 api changed
This commit is contained in:
parent
d3dc969ec3
commit
944fb7741a
1 changed files with 1 additions and 6 deletions
|
|
@ -152,12 +152,7 @@ class BpConfigForm extends Form
|
||||||
|
|
||||||
$this->storage->storeProcess($config);
|
$this->storage->storeProcess($config);
|
||||||
$config->clearAppliedChanges();
|
$config->clearAppliedChanges();
|
||||||
$this->setRedirectUrl(
|
$this->getRedirectUrl()->setParam('config', $name);
|
||||||
Url::fromPath(
|
|
||||||
$this->getRedirectUrl(),
|
|
||||||
array('config' => $name)
|
|
||||||
)
|
|
||||||
);
|
|
||||||
Notification::success(sprintf('Process %s has been stored', $name));
|
Notification::success(sprintf('Process %s has been stored', $name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue