forked from friendica/friendica-addons
more adaption to latest release
This commit is contained in:
parent
10844a8060
commit
338c9a00ab
1 changed files with 2 additions and 4 deletions
|
@ -88,10 +88,9 @@ function retriever_module() {}
|
||||||
/**
|
/**
|
||||||
* @brief Admin page hook for retriever plugin
|
* @brief Admin page hook for retriever plugin
|
||||||
*
|
*
|
||||||
* @param App $a App object (unused)
|
|
||||||
* @param string $o HTML to append content to (by ref)
|
* @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/');
|
$template = Renderer::getMarkupTemplate('admin.tpl', 'addon/retriever/');
|
||||||
|
|
||||||
$downloads_per_cron = DI::config()->get('retriever', 'downloads_per_cron');
|
$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
|
* @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)
|
* @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']);
|
Logger::info('retriever_post_remote_hook: ' . $item['uri'] . ' ' . $item['uid'] . ' ' . $item['contact-id']);
|
||||||
|
|
||||||
$retriever_rule = get_retriever_rule($item['contact-id'], $item["uid"], false);
|
$retriever_rule = get_retriever_rule($item['contact-id'], $item["uid"], false);
|
||||||
|
|
Loading…
Reference in a new issue