From d59d8cb9226b9a4bed00df2b09285a1c61e61f07 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 12 May 2015 00:39:35 +0200 Subject: [PATCH] Also this constant is not reachable through "self" from this class. Signed-off-by: Roland Haeder --- .../announcement/class_NodeMessageAnnouncementHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php b/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php index a5af5210b..dc7686181 100644 --- a/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php +++ b/application/hub/main/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php @@ -95,7 +95,7 @@ class NodeMessageAnnouncementHandler extends BaseMessageHandler implements Handl * This node is not accepting announcements, then someone wants to * announce his node to a non-bootstrap and non-master node. */ - throw new AnnouncementNotAcceptedException(array($this, $nodeInstance, $messageData), self::EXCEPTION_ANNOUNCEMENT_NOT_ACCEPTED); + throw new AnnouncementNotAcceptedException(array($this, $nodeInstance, $messageData), BaseHubSystem::EXCEPTION_ANNOUNCEMENT_NOT_ACCEPTED); } // END - if // Register the announcing node with this node -- 2.39.5