]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/response/class_BaseResponse.php
Continued:
[core.git] / framework / main / classes / response / class_BaseResponse.php
index a52a53bf5a6e56f00a5585da75b74cb760db13db..3cc1807d66dffa8d9ff2ec8a38f3077de936b923 100644 (file)
@@ -147,11 +147,8 @@ abstract class BaseResponse extends BaseFrameworkSystem {
         * @return      void
         */
        public final function addFatalMessage ($messageId) {
-               // Get application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
-
                // Adds the resolved message id to the fatal message list
-               $this->addFatalMessagePlain($applicationInstance->getLanguageInstance()->getMessage($messageId));
+               $this->addFatalMessagePlain(FrameworkBootstrap::getLanguageInstance()->getMessage($messageId));
        }
 
        /**