mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +02:00
fix: remove fediverse prefix to prevent migration error + load routes during podcast import
refactor migration queries to use forge functions
This commit is contained in:
parent
072b3ff61d
commit
7ff1dbe903
63 changed files with 387 additions and 355 deletions
|
|
@ -66,7 +66,7 @@ class UserController extends BaseController
|
|||
$roleOptions = [];
|
||||
array_walk(
|
||||
$roles,
|
||||
static function ($role, $key) use (&$roleOptions): array {
|
||||
static function (array $role, $key) use (&$roleOptions): array {
|
||||
$roleOptions[$key] = $role['title'];
|
||||
return $roleOptions;
|
||||
},
|
||||
|
|
@ -172,7 +172,7 @@ class UserController extends BaseController
|
|||
$roleOptions = [];
|
||||
array_walk(
|
||||
$roles,
|
||||
static function ($role, $key) use (&$roleOptions): array {
|
||||
static function (array $role, $key) use (&$roleOptions): array {
|
||||
$roleOptions[$key] = $role['title'];
|
||||
return $roleOptions;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue