[various] Remove App dependency from hook functions
This commit is contained in:
parent
b53914ee11
commit
39c654da00
87 changed files with 419 additions and 451 deletions
|
@ -27,7 +27,7 @@ function group_text_install()
|
|||
*
|
||||
*/
|
||||
|
||||
function group_text_settings_post(App $a, array $post)
|
||||
function group_text_settings_post(array $post)
|
||||
{
|
||||
if (!DI::userSession()->getLocalUserId() || empty($post['group_text-submit'])) {
|
||||
return;
|
||||
|
@ -44,7 +44,7 @@ function group_text_settings_post(App $a, array $post)
|
|||
*
|
||||
*/
|
||||
|
||||
function group_text_settings(App &$a, array &$data)
|
||||
function group_text_settings(array &$data)
|
||||
{
|
||||
if (!DI::userSession()->getLocalUserId()) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue