mirror of
https://github.com/friendica/friendica
synced 2025-04-21 10:30:13 +00:00
Revert "Replace Module::init() with Constructors"
This commit is contained in:
parent
0b6e0566d7
commit
89d6c89b67
43 changed files with 921 additions and 1225 deletions
|
@ -22,7 +22,6 @@
|
|||
namespace Friendica\Module\Profile;
|
||||
|
||||
use Friendica\BaseModule;
|
||||
use Friendica\Core\L10n;
|
||||
|
||||
/**
|
||||
* Profile index router
|
||||
|
@ -37,11 +36,11 @@ class Index extends BaseModule
|
|||
{
|
||||
public function rawContent()
|
||||
{
|
||||
(new Profile($this->l10n, $this->parameters))->rawContent();
|
||||
(new Profile($this->parameters))->rawContent();
|
||||
}
|
||||
|
||||
public function content(): string
|
||||
{
|
||||
return (new Status($this->l10n, $this->parameters))->content();
|
||||
return (new Status($this->parameters))->content();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue