mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-27 00:06:14 +01:00
Bugfix
This commit is contained in:
parent
da0588af8b
commit
8f30875314
@ -32,7 +32,7 @@ class Module extends Model
|
||||
parent::boot();
|
||||
|
||||
static::addGlobalScope('enabled', function (Builder $builder) {
|
||||
$builder->where('enabled', true);
|
||||
//$builder->where('enabled', true);
|
||||
});
|
||||
|
||||
static::addGlobalScope('permission', function (Builder $builder) {
|
||||
|
Loading…
Reference in New Issue
Block a user