FIX: add missing cache forget after disabling module

This commit is contained in:
Michal Kváček
2017-09-14 20:32:21 +02:00
parent f10847dede
commit 4d68156a73
@@ -40,6 +40,7 @@ class DisableModule extends Command
$module->save();
\Cache::forget('enabled-modules');
\Cache::forget('enabled-content-modules');
\Cache::forget('enabled-modules-and-template');
$this->line('Module ' . $module->static_name . ' disabled.');