mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-10 19:10:47 +01:00
feat: Rewrite of the core: avoid globals where possible
Create services for: login, status, router, database, AnonymousStatistics Drop gesior.backward_support Drop compat/pages.php Drop part of compat/classes.php Move signature to routes
This commit is contained in:
@@ -235,7 +235,7 @@ class CreateCharacter
|
||||
}
|
||||
}
|
||||
|
||||
global $hooks;
|
||||
$hooks = app()->get('hooks');
|
||||
if (!$hooks->trigger(HOOK_ACCOUNT_CREATE_CHARACTER_AFTER,
|
||||
[
|
||||
'account' => $account,
|
||||
|
||||
Reference in New Issue
Block a user