Rewrite continued:
[core.git] / framework / main / classes / registration / class_BaseRegistration.php
index db2ec310c00e49e8771f841de06dc47ebfc41f4c..f2a78f20abc01da93e4994d4ab87dbd70ece8a48 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Registration;
 
 // Import framework stuff
+use CoreFramework\Bootstrap\FrameworkBootstrap;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Filter\Filterable;
 use CoreFramework\Object\BaseFrameworkSystem;
@@ -91,7 +92,7 @@ class BaseRegistration extends BaseFrameworkSystem {
         */
        protected function executePreFilters () {
                // Execute all pre filters
-               $this->preRegistrationFilter->processFilters($this->getRequestInstance(), $this->getResponseInstance());
+               $this->preRegistrationFilter->processFilters(FrameworkBootstrap::getRequestInstance(), FrameworkBootstrap::getResponseInstance());
        }
 
        /**
@@ -101,7 +102,7 @@ class BaseRegistration extends BaseFrameworkSystem {
         */
        protected function executePostFilters () {
                // Execute all post filters
-               $this->postRegistrationFilter->processFilters($this->getRequestInstance(), $this->getResponseInstance());
+               $this->postRegistrationFilter->processFilters(FrameworkBootstrap::getRequestInstance(), FrameworkBootstrap::getResponseInstance());
        }
 
 }