X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FPublicRSAKey.php;h=3d0423688f3d68803f04dbb65d2147b440c208f5;hb=4bfe0eaa33cbecb1c021713671aa2ad697904a0b;hp=ed099616ad41126a69ec0b41a11e92edbf888ec4;hpb=bd604d1cfb07fe43016f07a6d1f82877dd910b4c;p=friendica.git diff --git a/src/Module/PublicRSAKey.php b/src/Module/PublicRSAKey.php index ed099616ad..3d0423688f 100644 --- a/src/Module/PublicRSAKey.php +++ b/src/Module/PublicRSAKey.php @@ -1,9 +1,29 @@ . + * + */ namespace Friendica\Module; use ASN_BASE; use Friendica\BaseModule; +use Friendica\DI; use Friendica\Model\User; use Friendica\Network\HTTPException\BadRequestException; @@ -12,9 +32,9 @@ use Friendica\Network\HTTPException\BadRequestException; */ class PublicRSAKey extends BaseModule { - public static function rawContent() + public static function rawContent(array $parameters = []) { - $app = self::getApp(); + $app = DI::app(); // @TODO: Replace with parameter from router if ($app->argc !== 2) {