forked from friendica/friendica-addons
more adaption to latest release
This commit is contained in:
parent
1d75a40d63
commit
511271ba37
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue