<?php
/**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
*/
class Poll extends BaseModule
{
- public static function rawContent()
+ protected function rawContent(array $request = [])
{
header("Content-type: application/atom+xml");
$last_update = $_GET['last_update'] ?? '';
- echo OStatus::feed(static::$parameters['nickname'], $last_update, 10);
+ echo OStatus::feed($this->parameters['nickname'], $last_update, 10);
exit();
}
}