X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FSettings%2FAddons.php;h=b6ac406ba6ebc19cc8039cf5f62f89c80fee2d13;hb=69e4254dcc51345a36e13fb96f94d9b57bc37489;hp=580d37e6112cb4fe2aea9273fe172d5fdc4db8ac;hpb=2f3f41ed9cdb4229d78bdf2f91b0617403a8dd62;p=friendica.git diff --git a/src/Module/Settings/Addons.php b/src/Module/Settings/Addons.php index 580d37e611..b6ac406ba6 100644 --- a/src/Module/Settings/Addons.php +++ b/src/Module/Settings/Addons.php @@ -1,6 +1,6 @@ database = $database; - $this->app = $app; } protected function post(array $request = []) @@ -62,7 +59,7 @@ class Addons extends BaseSettings $addon_settings_forms = []; foreach ($this->database->selectToArray('hook', ['file', 'function'], ['hook' => 'addon_settings']) as $hook) { $data = []; - Hook::callSingle($this->app, 'addon_settings', [$hook['file'], $hook['function']], $data); + Hook::callSingle('addon_settings', [$hook['file'], $hook['function']], $data); if (!empty($data['href'])) { $tpl = Renderer::getMarkupTemplate('settings/addons/link.tpl');