*
* @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
*
$registryKey = strtolower($protocolInstance->getProtocolName()) . '_client';
// Is the key already in registry?
- if (Registry::getRegistry()->instanceExists($registryKey)) {
+ if (GenericRegistry::getRegistry()->instanceExists($registryKey)) {
// Then use that instance
- $clientInstance = Registry::getRegistry()->getInstance($registryKey);
+ $clientInstance = GenericRegistry::getRegistry()->getInstance($registryKey);
// Set socket resource
$clientInstance->setSocketResource($socketResource);
// Return the prepared instance
return $clientInstance;
}
-}
-// [EOF]
-?>
+}