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();
}
}
$contact = Model\Contact::getByURLForUser($url, local_user(), false);
- $xml = DI::httpRequest()->fetchUrl($contact['poll']);
+ $xml = DI::httpRequest()->fetch($contact['poll']);
$import_result = Protocol\Feed::import($xml);