Skip to content

Commit

Permalink
Use the key configured to clear
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Jul 12, 2016
1 parent 3215e6c commit 5ae83fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/CanClearModulesCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trait CanClearModulesCache
public function clearCache()
{
if (config('modules.cache.enabled') === true) {
app('cache')->forget('laravel-modules');
app('cache')->forget(config('modules.cache.key'));
}
}
}

0 comments on commit 5ae83fe

Please sign in to comment.