Skip to content

Commit

Permalink
chore: Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuf committed Nov 23, 2024
1 parent d294299 commit 437346d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext_localconf.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?php

use Sinso\Variables\Hooks\ContentProcessor;
use Sinso\Variables\Hooks\DataHandler;

defined('TYPO3') || die();

(static function ($extKey) {
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-all'][$extKey]
= \Sinso\Variables\Hooks\ContentProcessor::class . '->replaceContent';
= ContentProcessor::class . '->replaceContent';

$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearCachePostProc'][$extKey . '_clearcache']
= DataHandler::class . '->clearCachePostProc';
Expand Down

0 comments on commit 437346d

Please sign in to comment.