Make BaseModule methods dynamic
This commit is contained in:
parent
714f0febc4
commit
489cd0884a
253 changed files with 397 additions and 385 deletions
|
|
@ -34,7 +34,7 @@ use Friendica\Util\Strings;
|
|||
|
||||
class Index extends BaseSettings
|
||||
{
|
||||
public static function post()
|
||||
public function post()
|
||||
{
|
||||
if (!Session::isAuthenticated()) {
|
||||
return;
|
||||
|
|
@ -106,7 +106,7 @@ class Index extends BaseSettings
|
|||
DI::baseUrl()->redirect('settings/profile/photo/crop/' . $resource_id);
|
||||
}
|
||||
|
||||
public static function content()
|
||||
public function content(): string
|
||||
{
|
||||
if (!Session::isAuthenticated()) {
|
||||
throw new HTTPException\ForbiddenException(DI::l10n()->t('Permission denied.'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue