From: Roland Häder Date: Thu, 14 Feb 2013 22:26:58 +0000 (+0000) Subject: Fixed wrong super classes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=487ead9d907ace0e1fa0a6ec98231724e4f8fe8d;p=hub.git Fixed wrong super classes --- 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;