namespace Friendica\Module;
use Friendica\BaseModule;
-use Friendica\Core\System;
use Friendica\Protocol\OStatus;
/**
{
$a = self::getApp();
- $last_update = defaults($_GET, 'last_update', '');
+ $last_update = $_GET['last_update'] ?? '';
$nocache = !empty($_GET['nocache']) && local_user();
// @TODO: Replace with parameter from router
if ($a->argc < 2) {
- System::httpExit(400);
+ throw new \Friendica\Network\HTTPException\BadRequestException();
}
$type = null;