mirror of
https://github.com/friendica/friendica
synced 2025-04-28 12:24:23 +02:00
Split and delete ModuleController
- $moduleName is part of the argument string => App\Arguments - $isBackend boolean already part of App\Mode::isBackend() - $module is now the direct return of App\Router::getModule() - ModuleController::run() moved to BaseModule::run()
This commit is contained in:
parent
a5ab184fb8
commit
b5d2d32b44
17 changed files with 299 additions and 793 deletions
|
@ -80,7 +80,7 @@ class ACL
|
|||
|
||||
$arr = ['contact' => $contacts, 'entry' => $o];
|
||||
|
||||
Hook::callAll(DI::module()->getName() . '_pre_recipient', $arr);
|
||||
Hook::callAll(DI::args()->getModuleName() . '_pre_recipient', $arr);
|
||||
|
||||
$tpl = Renderer::getMarkupTemplate('acl/message_recipient.tpl');
|
||||
$o = Renderer::replaceMacros($tpl, [
|
||||
|
@ -88,7 +88,7 @@ class ACL
|
|||
'$selected' => $selected,
|
||||
]);
|
||||
|
||||
Hook::callAll(DI::module()->getName() . '_post_recipient', $o);
|
||||
Hook::callAll(DI::args()->getModuleName() . '_post_recipient', $o);
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue