[TASK] Use fully qualified name resolution in PHP 5.5
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Classes / Service / ClearCacheService.php
index 04781cb..0b33998 100644 (file)
@@ -101,7 +101,7 @@ class ClearCacheService {
                static $database;
                if (!is_object($database)) {
                        /** @var \TYPO3\CMS\Core\Database\DatabaseConnection $database */
-                       $database = $this->objectManager->get('TYPO3\\CMS\\Core\\Database\\DatabaseConnection');
+                       $database = $this->objectManager->get(\TYPO3\CMS\Core\Database\DatabaseConnection::class);
                        $database->setDatabaseUsername($GLOBALS['TYPO3_CONF_VARS']['DB']['username']);
                        $database->setDatabasePassword($GLOBALS['TYPO3_CONF_VARS']['DB']['password']);
                        $database->setDatabaseHost($GLOBALS['TYPO3_CONF_VARS']['DB']['host']);