]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/PublicRSAKey.php
Merge pull request #8148 from annando/remote-comment
[friendica.git] / src / Module / PublicRSAKey.php
index f652811b54bd5a7b1d417d6359e4ff1eabf1848c..5e90d90725768476882362bfe748b8b703368a86 100644 (file)
@@ -4,6 +4,7 @@ namespace Friendica\Module;
 
 use ASN_BASE;
 use Friendica\BaseModule;
+use Friendica\DI;
 use Friendica\Model\User;
 use Friendica\Network\HTTPException\BadRequestException;
 
@@ -14,7 +15,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) {