<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
use Friendica\BaseModule;
use Friendica\DI;
-use Friendica\Protocol\OStatus;
+use Friendica\Protocol\Feed as ProtocolFeed;
/**
* Provides public Atom feeds
// @TODO: Replace with parameter from router
$nickname = $a->argv[1];
header("Content-type: application/atom+xml; charset=utf-8");
- echo OStatus::feed($nickname, $last_update, 10, $type, $nocache, true);
+ echo ProtocolFeed::atom($nickname, $last_update, 10, $type, $nocache, true);
exit();
}
}