mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
Added parameters
This commit is contained in:
parent
abe6724629
commit
bd62d548db
84 changed files with 172 additions and 177 deletions
|
@ -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.'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue