Skip to content

Commit

Permalink
fix namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
3x1io committed Apr 2, 2024
1 parent 51bf597 commit 6fe72a1
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public function getPermGroup(): array
{
$prem = Permission::all()->makeHidden(['pivot', 'created_at', 'updated_at']);

$tables = DB::connection()->getDoctrineSchemaManager()->listTableNames();
$tables = array_map('current', DB::select('SHOW TABLES'));

$permGroup = [];
foreach ($tables as $item) {
Expand Down
7 changes: 3 additions & 4 deletions Modules/TomatoRoles/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"placeholder": "placeholder.webp",
"type": "plugin",
"version": "v1.0",
"github": "https:\/\/github.com\/tomatophp\/tomato-roles-module",
"docs": "https:\/\/docs.tomatophp.com\/plugins\/tomato-roles",
"active": false
}
"github" : "https://github.com/tomatophp/tomato-roles-module",
"docs" : "https://docs.tomatophp.com/plugins/tomato-roles"
}

0 comments on commit 6fe72a1

Please sign in to comment.