Commit f64521d1 authored by Christoph Hofmann's avatar Christoph Hofmann

autogenconf fix for TYPO3 7 LTS

parent ae32b423
......@@ -68,7 +68,7 @@ class tx_realurl_autoconfgen {
public function generateConfiguration() {
$fileName = PATH_site . TX_REALURL_AUTOCONF_FILE;
$lockObject = t3lib_div::makeInstance('t3lib_lock', $fileName, $GLOBALS['TYPO3_CONF_VARS']['SYS']['lockingMode']);
$lockObject = TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('t3lib_lock', $fileName, $GLOBALS['TYPO3_CONF_VARS']['SYS']['lockingMode']);
/** @var t3lib_lock $lockObject */
$lockObject->setEnableLogging(FALSE);
$lockObject->acquire();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment