<?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 Ignore extends BaseModule
{
- public static function rawContent()
+ protected function rawContent(array $request = [])
{
$l10n = DI::l10n();
throw new HttpException\ForbiddenException($l10n->t('Access denied.'));
}
- if (empty(static::$parameters['id'])) {
+ if (empty($this->parameters['id'])) {
throw new HTTPException\BadRequestException();
}
- $itemId = intval(static::$parameters['id']);
+ $itemId = intval($this->parameters['id']);
$dba = DI::dba();