X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FPublicRSAKey.php;h=3d0423688f3d68803f04dbb65d2147b440c208f5;hb=4bfe0eaa33cbecb1c021713671aa2ad697904a0b;hp=f652811b54bd5a7b1d417d6359e4ff1eabf1848c;hpb=c961128416390dab45bd5bd88ec4bf7823394413;p=friendica.git diff --git a/src/Module/PublicRSAKey.php b/src/Module/PublicRSAKey.php index f652811b54..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; @@ -14,7 +34,7 @@ class PublicRSAKey extends BaseModule { public static function rawContent(array $parameters = []) { - $app = self::getApp(); + $app = DI::app(); // @TODO: Replace with parameter from router if ($app->argc !== 2) {