]> git.mxchange.org Git - friendica.git/commitdiff
Formatting
authorMichael <heluecht@pirati.ca>
Wed, 12 May 2021 11:54:43 +0000 (11:54 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 12 May 2021 11:54:43 +0000 (11:54 +0000)
src/Module/OAuth/Acknowledge.php

index 1797b5fa00dc7add23b0e161e222c81a5bb545af..580f78c3ce4bbc8656dfd7c61a5e2700c61c6e30 100644 (file)
@@ -41,8 +41,7 @@ class Acknowledge extends BaseApi
        {
                DI::session()->set('return_path', $_REQUEST['return_path'] ?? '');
 
-               $tpl = Renderer::getMarkupTemplate('oauth_authorize.tpl');
-               $o = Renderer::replaceMacros($tpl, [
+               $o = Renderer::replaceMacros(Renderer::getMarkupTemplate('oauth_authorize.tpl'), [
                        '$title'     => DI::l10n()->t('Authorize application connection'),
                        '$app'       => ['name' => $_REQUEST['application'] ?? ''],
                        '$authorize' => DI::l10n()->t('Do you want to authorize this application to access your posts and contacts, and/or create new posts for you?'),