]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Invite.php
Added parameters
[friendica.git] / src / Module / Invite.php
index 7860c703c116239074ba0de762993f476a9147cf..162d4489d7ed9daaa7780c45418a3983730d86da 100644 (file)
@@ -16,7 +16,7 @@ use Friendica\Util\Strings;
  */
 class Invite extends BaseModule
 {
-       public static function post()
+       public static function post($parameters)
        {
                if (!local_user()) {
                        throw new HTTPException\ForbiddenException(L10n::t('Permission denied.'));
@@ -104,7 +104,7 @@ class Invite extends BaseModule
                notice(L10n::tt('%d message sent.', '%d messages sent.', $total) . EOL);
        }
 
-       public static function content()
+       public static function content($parameters)
        {
                if (!local_user()) {
                        throw new HTTPException\ForbiddenException(L10n::t('Permission denied.'));