Make BaseModule methods dynamic
This commit is contained in:
@@ -37,7 +37,7 @@ use Friendica\Util\Proxy;
|
||||
*/
|
||||
class Delegation extends BaseModule
|
||||
{
|
||||
public static function post()
|
||||
public function post()
|
||||
{
|
||||
if (!local_user()) {
|
||||
return;
|
||||
@@ -112,7 +112,7 @@ class Delegation extends BaseModule
|
||||
// NOTREACHED
|
||||
}
|
||||
|
||||
public static function content()
|
||||
public function content(): string
|
||||
{
|
||||
if (!local_user()) {
|
||||
throw new ForbiddenException(DI::l10n()->t('Permission denied.'));
|
||||
|
||||
Reference in New Issue
Block a user