mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-05-28 04:34:08 -04:00
ProcessController: rename method
This commit is contained in:
parent
6fac82b3f9
commit
c8e29575bd
1 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ class Businessprocess_ProcessController extends Controller
|
|||
*/
|
||||
public function showAction()
|
||||
{
|
||||
$this->redirectIfConfigChosen();
|
||||
$this->redirectOnConfigSwitch();
|
||||
|
||||
if ($this->params->get('unlocked')) {
|
||||
$bp = $this->loadModifiedBpConfig();
|
||||
|
|
@ -109,7 +109,7 @@ class Businessprocess_ProcessController extends Controller
|
|||
*/
|
||||
public function toplevelAction()
|
||||
{
|
||||
$this->redirectIfConfigChosen();
|
||||
$this->redirectOnConfigSwitch();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -196,7 +196,7 @@ class Businessprocess_ProcessController extends Controller
|
|||
* Redirect to our URL plus the chosen config if someone switched the
|
||||
* config in the appropriate dropdown list
|
||||
*/
|
||||
protected function redirectIfConfigChosen()
|
||||
protected function redirectOnConfigSwitch()
|
||||
{
|
||||
$request = $this->getRequest();
|
||||
if ($request->isPost()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue