]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Delegation.php
Possibly Avoid database error when storing photo item
[friendica.git] / src / Module / Delegation.php
index 2b36fc2a306600bc978647b1b2ce9ee2f3bc5cb1..b242f5faa37387557dd0692e3d6316084f351deb 100644 (file)
@@ -37,7 +37,7 @@ use Friendica\Util\Proxy;
  */
 class Delegation extends BaseModule
 {
-       public function post()
+       protected function post(array $request = [], array $post = [])
        {
                if (!local_user()) {
                        return;
@@ -112,7 +112,7 @@ class Delegation extends BaseModule
                // NOTREACHED
        }
 
-       public function content(): string
+       protected function content(array $request = []): string
        {
                if (!local_user()) {
                        throw new ForbiddenException(DI::l10n()->t('Permission denied.'));