<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
public static function init(array $parameters = [])
{
if (!local_user()) {
- info(DI::l10n()->t('You must be logged in to use this module'));
+ notice(DI::l10n()->t('You must be logged in to use this module'));
DI::baseUrl()->redirect();
}
}
if (!empty($_REQUEST['url'])) {
$url = $_REQUEST['url'];
- $contact = Model\Contact::getByURLForUser($url, local_user(), false);
+ $contact = Model\Contact::getByURLForUser($url, local_user(), null);
$xml = DI::httpRequest()->fetch($contact['poll']);