/** * {@inheritdoc} */ public function handle(\Input $input) { if (Runtime::clearComposerCache()) { Messages::addConfirmation($GLOBALS['TL_LANG']['composer_client']['composerCacheCleared']); } $this->redirect('contao/main.php?do=composer'); }
/** * {@inheritdoc} */ public function handle(\Input $input) { if (Runtime::clearComposerCache()) { $_SESSION['TL_CONFIRM'][] = $GLOBALS['TL_LANG']['composer_client']['composerCacheCleared']; } $this->redirect('contao/main.php?do=composer'); }