[BUGFIX] Remove superfluous getInstance calls in Bootstrap 10/36610/3
authorHelmut Hummel <helmut.hummel@typo3.org>
Mon, 2 Feb 2015 19:21:29 +0000 (20:21 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Mon, 2 Feb 2015 19:29:46 +0000 (20:29 +0100)
Releases: 6.2, master
Resolves: #64770
Change-Id: I9ae4cd9476b45a17c0246edf65fb01a54b7dd24f
Reviewed-on: http://review.typo3.org/36610
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/core/Classes/Core/Bootstrap.php

index e2e0f91..56ef7b5 100644 (file)
@@ -356,8 +356,7 @@ class Bootstrap {
         * @internal This is not a public API method, do not use in own extensions
         */
        public function loadTypo3LoadedExtAndExtLocalconf($allowCaching = TRUE) {
-               $this->getInstance()
-                       ->loadAdditionalConfigurationFromExtensions($allowCaching);
+               $this->loadAdditionalConfigurationFromExtensions($allowCaching);
                return $this;
        }
 
@@ -368,8 +367,7 @@ class Bootstrap {
         * @internal This is not a public API method, do not use in own extensions
         */
        public function applyAdditionalConfigurationSettings() {
-               $this->getInstance()
-                       ->initializeExceptionHandling()
+               $this->initializeExceptionHandling()
                        ->setFinalCachingFrameworkCacheConfiguration()
                        ->defineLoggingAndExceptionConstants()
                        ->unsetReservedGlobalVariables();