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);