mirror of
https://github.com/ad-aures/castopod.git
synced 2026-03-31 21:39:20 +02:00
fix(plugins): clear cache after activating or deactivating plugin
This commit is contained in:
parent
34be5bccab
commit
08c7df2a5d
1 changed files with 6 additions and 0 deletions
|
|
@ -249,6 +249,9 @@ class PluginController extends BaseController
|
|||
|
||||
$this->plugins->activate($plugin);
|
||||
|
||||
// clear cache after activation
|
||||
$plugin->clearCache();
|
||||
|
||||
return redirect()->back();
|
||||
}
|
||||
|
||||
|
|
@ -263,6 +266,9 @@ class PluginController extends BaseController
|
|||
|
||||
$this->plugins->deactivate($plugin);
|
||||
|
||||
// clear cache after deactivation
|
||||
$plugin->clearCache();
|
||||
|
||||
return redirect()->back();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue