From 487ead9d907ace0e1fa0a6ec98231724e4f8fe8d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 14 Feb 2013 22:26:58 +0000 Subject: [PATCH] Fixed wrong super classes --- application/hub/main/factories/socket/class_SocketFactory.php | 4 ++-- .../hub/main/helper/connection/class_BaseConnectionHelper.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/application/hub/main/factories/socket/class_SocketFactory.php b/application/hub/main/factories/socket/class_SocketFactory.php index 1d484264e..5ba0c468f 100644 --- a/application/hub/main/factories/socket/class_SocketFactory.php +++ b/application/hub/main/factories/socket/class_SocketFactory.php @@ -22,7 +22,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class SocketFactory extends BaseHubHelper { +class SocketFactory extends ObjectFactory { /** * Protected constructor * @@ -74,7 +74,7 @@ class SocketFactory extends BaseHubHelper { self::createDebugInstance(__CLASS__)->debugOutput('SOCKET-FACTORY: Created socket ' . $socketResource . '(' . gettype($socketResource) . ') from class ' . $className . '.'); // Construct container class, this won't be reached if an exception is thrown - $containerInstance = ObjectFactory::CreateObjectByConfiguredName('socket_container_class', array($socketResource, NULL, $packageData)); + $containerInstance = self::CreateObjectByConfiguredName('socket_container_class', array($socketResource, NULL, $packageData)); // Register it with the registry Registry::getRegistry()->addInstance($registryKey, $containerInstance); diff --git a/application/hub/main/helper/connection/class_BaseConnectionHelper.php b/application/hub/main/helper/connection/class_BaseConnectionHelper.php index 0b5a0ab87..362ca0087 100644 --- a/application/hub/main/helper/connection/class_BaseConnectionHelper.php +++ b/application/hub/main/helper/connection/class_BaseConnectionHelper.php @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class BaseConnectionHelper extends BaseHubHelper implements Registerable, ProtocolHandler { +class BaseConnectionHelper extends BaseHubSystemHelper implements Registerable, ProtocolHandler { // Exception codes const EXCEPTION_UNSUPPORTED_ERROR_HANDLER = 0x900; -- 2.39.5