From c8e29575bde29254323ccd4e7d91137f9f7a0212 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 17 Nov 2015 14:20:26 +0100 Subject: [PATCH] ProcessController: rename method --- application/controllers/ProcessController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/ProcessController.php b/application/controllers/ProcessController.php index d1da782..1a24491 100644 --- a/application/controllers/ProcessController.php +++ b/application/controllers/ProcessController.php @@ -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()) {