Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Purge the internal cache after a module has been (de)activated (fixes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Dec 21, 2012
1 parent 960a35e commit d9b3937
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions system/docs/CHANGELOG.md
Expand Up @@ -4,6 +4,9 @@ Contao Open Source CMS Changelog
Version 3.0.2 (201X-XX-XX)
--------------------------

### Fixed
Purge the internal cache after a module has been (de)activated (see #5016).

### Fixed
Do not cache the `system/cron/cron.txt` file (see #5105).

Expand Down
4 changes: 4 additions & 0 deletions system/modules/core/dca/tl_settings.php
Expand Up @@ -595,6 +595,10 @@ public function updateInactiveModules($varValue)
}
}

// Purge the internal cache (see #5016)
$this->import('Automator');
$this->Automator->purgeInternalCache();

return $varValue;
}

Expand Down

0 comments on commit d9b3937

Please sign in to comment.