]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/application/class_BaseApplication.php
Continued:
[core.git] / framework / main / classes / application / class_BaseApplication.php
index e18a620cb4de64c09271fd59d282be0eeda38044..3a6f8e6aeb85bbc260b1be6861ec484b8f0fce07 100644 (file)
@@ -4,18 +4,14 @@ namespace Org\Mxchange\CoreFramework\Application;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
-use Org\Mxchange\CoreFramework\Registry\Registry;
+use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 
 /**
  * A general application class for the ApplicationHelper classes.
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
-<<<<<<< HEAD:framework/main/classes/application/class_BaseApplication.php
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
-=======
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 Core Developer Team
->>>>>>> Some updates::inc/main/classes/application/class_BaseApplication.php
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -43,11 +39,8 @@ abstract class BaseApplication extends BaseFrameworkSystem {
                // Call parent constructor
                parent::__construct($className);
 
-               // Get registry instance
-               $registryInstance = Registry::getRegistry();
-
-               // Add this instance
-               $registryInstance->addInstance('application', $this);
+               // Set this instance as application instance
+               GenericRegistry::getRegistry()->addInstance('application', $this);
        }
 
 }