removed overuse of cache:clear command

This commit is contained in:
denisdulici
2020-05-20 21:14:49 +03:00
parent b4c56ea617
commit 108c5522ac
16 changed files with 102 additions and 111 deletions

View File

@@ -4,7 +4,6 @@ namespace App\Jobs\Auth;
use App\Abstracts\Job;
use App\Models\Auth\Role;
use Artisan;
class UpdateRole extends Job
{
@@ -37,8 +36,6 @@ class UpdateRole extends Job
$this->role->permissions()->sync($this->request->get('permissions'));
}
Artisan::call('cache:clear');
return $this->role;
}
}