Browse Source

Rename to AccountManagementControlDocument

pull/7063/head
Philipp Holzer 3 years ago
parent
commit
08d4c7f1a9
No known key found for this signature in database GPG Key ID: 517BE60E2CE5C8A5
  1. 2
      src/App/Router.php
  2. 4
      src/Module/AccountManagementControlDocument.php

2
src/App/Router.php

@ -41,7 +41,7 @@ class Router
public function collectRoutes()
{
$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)

4
src/Module/AccMgmtControlDoc.php → src/Module/AccountManagementControlDocument.php

@ -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
*/
class AccMgmtControlDoc extends BaseModule
class AccountManagementControlDocument extends BaseModule
{
public static function rawContent()
{
parent::rawContent();
$output = [
'version' => 1,
'sessionstatus' => [
Loading…
Cancel
Save