mirror of
https://github.com/friendica/friendica
synced 2025-04-19 13:50:15 +00:00
Make BaseModule methods dynamic
This commit is contained in:
parent
714f0febc4
commit
489cd0884a
253 changed files with 397 additions and 385 deletions
|
@ -30,7 +30,7 @@ use Friendica\Model\Contact;
|
|||
*/
|
||||
class RandomProfile extends BaseModule
|
||||
{
|
||||
public static function content()
|
||||
public function content(): string
|
||||
{
|
||||
$a = DI::app();
|
||||
|
||||
|
@ -42,5 +42,7 @@ class RandomProfile extends BaseModule
|
|||
}
|
||||
|
||||
DI::baseUrl()->redirect('profile');
|
||||
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue