Skip to content

Commit

Permalink
[BUGFIX] Use VariableFrontend to replace deprecated StringFrontend
Browse files Browse the repository at this point in the history
The frontends are compatible, but StringFrontend causes
deprecation messages.
  • Loading branch information
NamelessCoder committed Jun 22, 2018
1 parent d781ff8 commit 261cfce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext_localconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function mb_scrub($s, $enc = null) { $enc = null === $enc ? mb_internal_encoding

if (FALSE === is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['vhs_main'])) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['vhs_main'] = [
'frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\StringFrontend',
'frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\VariableFrontend',
'options' => [
'defaultLifetime' => 804600
],
Expand All @@ -72,7 +72,7 @@ function mb_scrub($s, $enc = null) { $enc = null === $enc ? mb_internal_encoding

if (FALSE === is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['vhs_markdown'])) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['vhs_markdown'] = [
'frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\StringFrontend',
'frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\VariableFrontend',
'options' => [
'defaultLifetime' => 804600
],
Expand Down

0 comments on commit 261cfce

Please sign in to comment.