Created
September 15, 2017 05:55
-
-
Save chris-at-github/a09352553d0cd5dec830155784b02e20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @return \TYPO3\CMS\Core\Database\DatabaseConnection | |
*/ | |
protected function getDatabase() { | |
return $GLOBALS['TYPO3_DB']; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @return \TYPO3\CMS\Core\Database\DatabaseConnection | |
*/ | |
protected function getDatabase() { | |
return $GLOBALS['TYPO3_DB']; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment