From df951e0be3b7d81a8ef5ac718cf645b779afcaed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 16:09:54 +0200 Subject: [PATCH] Next wave: - added namespaces to configuration entries MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../resolver/state/class_BaseStateResolver.php | 4 +--- application/hub/config.php | 12 ++++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/application/hub/classes/resolver/state/class_BaseStateResolver.php b/application/hub/classes/resolver/state/class_BaseStateResolver.php index 0d9472704..eaceee675 100644 --- a/application/hub/classes/resolver/state/class_BaseStateResolver.php +++ b/application/hub/classes/resolver/state/class_BaseStateResolver.php @@ -165,7 +165,5 @@ class BaseStateResolver extends BaseResolver { // Return the result return $isValid; } -} -// [EOF] -?> +} diff --git a/application/hub/config.php b/application/hub/config.php index 1b24f2f01..bfeff2932 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -844,22 +844,22 @@ $cfg->setConfigEntry('default_hub_console_controller', 'main'); /////////////////////////////////////////////////////////////////////////////// // CFG: NODE-INIT-STATE-CLASS -$cfg->setConfigEntry('node_init_state_class', 'NodeInitState'); +$cfg->setConfigEntry('node_init_state_class', 'Hub\State\Node\NodeInitState'); // CFG: NODE-VIRGIN-STATE-CLASS -$cfg->setConfigEntry('node_virgin_state_class', 'NodeVirginState'); +$cfg->setConfigEntry('node_virgin_state_class', 'Hub\State\Node\NodeVirginState'); // CFG: NODE-ACTIVE-STATE-CLASS -$cfg->setConfigEntry('node_active_state_class', 'NodeActiveState'); +$cfg->setConfigEntry('node_active_state_class', 'Hub\State\Node\NodeActiveState'); // CFG: NODE-ANNOUNCING-STATE-CLASS -$cfg->setConfigEntry('node_announcing_state_class', 'NodeAnnouncingState'); +$cfg->setConfigEntry('node_announcing_state_class', 'Hub\State\Node\NodeAnnouncingState'); // CFG: NODE-REACHABLE-STATE-CLASS -$cfg->setConfigEntry('node_reachable_state_class', 'NodeReachableState'); +$cfg->setConfigEntry('node_reachable_state_class', 'Hub\State\Node\NodeReachableState'); // CFG: NODE-ANNOUNCEMENT-COMPLETED-STATE-CLASS -$cfg->setConfigEntry('node_announcement_completed_state_class', 'NodeAnnouncementCompletedState'); +$cfg->setConfigEntry('node_announcement_completed_state_class', 'Hub\State\Node\NodeAnnouncementCompletedState'); /////////////////////////////////////////////////////////////////////////////// // Peer states -- 2.39.5