[TASK] Remove getDatabaseConnection from BackendUtility 93/49793/2
authorRuud Silvrants <ruudsilvrants@gmail.com>
Fri, 2 Sep 2016 20:16:57 +0000 (22:16 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Fri, 2 Sep 2016 20:55:54 +0000 (22:55 +0200)
Resolves: #77807
Releases: master
Change-Id: I397d37cb5ed52b724c40aa803dc0818062296365
Reviewed-on: https://review.typo3.org/49793
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/backend/Classes/Utility/BackendUtility.php

index 95acf33..7471145 100644 (file)
@@ -4877,14 +4877,6 @@ class BackendUtility
     }
 
     /**
-     * @return DatabaseConnection
-     */
-    protected static function getDatabaseConnection()
-    {
-        return $GLOBALS['TYPO3_DB'];
-    }
-
-    /**
      * @param string $table
      * @return Connection
      */