Rename to AccountManagementControlDocument

This commit is contained in:
Philipp Holzer 2019-05-01 17:05:46 +02:00
parent 1460e417c1
commit 08d4c7f1a9
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
2 changed files with 2 additions and 4 deletions

View file

@ -41,7 +41,7 @@ class Router
public function collectRoutes() public function collectRoutes()
{ {
$this->routeCollector->addRoute(['GET', 'POST'], '/itemsource[/{guid}]', Module\Itemsource::class); $this->routeCollector->addRoute(['GET', 'POST'], '/itemsource[/{guid}]', Module\Itemsource::class);
$this->routeCollector->addRoute(['GET'], '/amcd', Module\AccMgmtControlDoc::class); $this->routeCollector->addRoute(['GET'], '/amcd', Module\AccountManagementControlDocument::class);
} }
public function __construct(RouteCollector $routeCollector = null) public function __construct(RouteCollector $routeCollector = null)

View file

@ -9,12 +9,10 @@ use Friendica\BaseModule;
* *
* @see https://wiki.mozilla.org/Labs/Weave/Identity/Account_Manager/Spec/3#Contents_of_the_Account_Management_Control_Document * @see https://wiki.mozilla.org/Labs/Weave/Identity/Account_Manager/Spec/3#Contents_of_the_Account_Management_Control_Document
*/ */
class AccMgmtControlDoc extends BaseModule class AccountManagementControlDocument extends BaseModule
{ {
public static function rawContent() public static function rawContent()
{ {
parent::rawContent();
$output = [ $output = [
'version' => 1, 'version' => 1,
'sessionstatus' => [ 'sessionstatus' => [