From 4d1327ed3d552e76bcdb23d329a175dd7a823621 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sun, 28 Jun 2015 21:53:31 +0200 Subject: [PATCH] It is the city daemon ... Signed-off-by: Roland Haeder --- .../city/interfaces/helper/city/class_CityHelper.php | 6 +++--- application/city/main/city_daemon/class_BaseCityDaemon.php | 2 +- .../commands/console/class_CityConsoleDaemonCommand.php | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/application/city/interfaces/helper/city/class_CityHelper.php b/application/city/interfaces/helper/city/class_CityHelper.php index bf4a413..2883ae6 100644 --- a/application/city/interfaces/helper/city/class_CityHelper.php +++ b/application/city/interfaces/helper/city/class_CityHelper.php @@ -54,14 +54,14 @@ interface CityHelper extends Helper, AddableCriteria { function addExtraCityFilters (); /** - * Activates the hub by doing some final preparation and setting - * $hubIsActive to TRUE. + * Activates the city daemon by doing some final preparation and setting + * $cityIsActive to TRUE. * * @param $requestInstance A Requestable class * @param $responseInstance A Responseable class * @return void */ - function activateCity (Requestable $requestInstance, Responseable $responseInstance); + function activateCityDaemon (Requestable $requestInstance, Responseable $responseInstance); /** * Updates/refreshes city data (e.g. state). diff --git a/application/city/main/city_daemon/class_BaseCityDaemon.php b/application/city/main/city_daemon/class_BaseCityDaemon.php index 661c613..8735bbb 100644 --- a/application/city/main/city_daemon/class_BaseCityDaemon.php +++ b/application/city/main/city_daemon/class_BaseCityDaemon.php @@ -171,7 +171,7 @@ class BaseCityDaemon extends BaseCitySystem implements Updateable, AddableCriter * @param $responseInstance A Responseable class * @return void */ - public function activateCity (Requestable $requestInstance, Responseable $responseInstance) { + public function activateCityDaemon (Requestable $requestInstance, Responseable $responseInstance) { // Get the controller here $controllerInstance = Registry::getRegistry()->getInstance('controller'); diff --git a/application/city/main/commands/console/class_CityConsoleDaemonCommand.php b/application/city/main/commands/console/class_CityConsoleDaemonCommand.php index a49d86d..a0f444b 100644 --- a/application/city/main/commands/console/class_CityConsoleDaemonCommand.php +++ b/application/city/main/commands/console/class_CityConsoleDaemonCommand.php @@ -79,10 +79,10 @@ class CityConsoleDaemonCommand extends BaseCommand implements Commandable { /* * -------------------------- City activation -------------------------- - * Activates the city by doing some final preparation steps and setting - * the attribute $hubIsActive to TRUE. + * Activates the city daemon by doing some final preparation steps and + * setting the attribute $cityIsActive to TRUE. */ - $cityInstance->activateCity($requestInstance, $responseInstance); + $cityInstance->activateCityDaemon($requestInstance, $responseInstance); // Get task handler instance $handlerInstance = Registry::getRegistry()->getInstance('task_handler'); -- 2.39.5