From 511271ba37b529ef3744ba9afa32c90ff428d19d Mon Sep 17 00:00:00 2001 From: Matthew Exon Date: Tue, 26 Dec 2023 13:44:36 +0100 Subject: [PATCH] more adaption to latest release --- retriever/retriever.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/retriever/retriever.php b/retriever/retriever.php index 6e499d94..8e721eaf 100644 --- a/retriever/retriever.php +++ b/retriever/retriever.php @@ -88,10 +88,9 @@ function retriever_module() {} /** * @brief Admin page hook for retriever plugin * - * @param App $a App object (unused) * @param string $o HTML to append content to (by ref) */ -function retriever_addon_admin(App $a, string &$o) { +function retriever_addon_admin(string &$o) { $template = Renderer::getMarkupTemplate('admin.tpl', 'addon/retriever/'); $downloads_per_cron = DI::config()->get('retriever', 'downloads_per_cron'); @@ -986,10 +985,9 @@ function retriever_contact_photo_menu(array &$args) { /** * @brief Hook for processing new incoming items * - * @param App $a The App object (by ref) * @param array $item New item, which has not yet been inserted into database (by ref) */ -function retriever_post_remote_hook(App &$a, array &$item) { +function retriever_post_remote_hook(array &$item) { Logger::info('retriever_post_remote_hook: ' . $item['uri'] . ' ' . $item['uid'] . ' ' . $item['contact-id']); $retriever_rule = get_retriever_rule($item['contact-id'], $item["uid"], false);