mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
Make BaseModule methods dynamic
This commit is contained in:
parent
714f0febc4
commit
489cd0884a
253 changed files with 397 additions and 385 deletions
|
@ -32,7 +32,7 @@ use Friendica\Protocol;
|
|||
*/
|
||||
class Feed extends BaseModule
|
||||
{
|
||||
public static function init()
|
||||
public function init()
|
||||
{
|
||||
if (!local_user()) {
|
||||
notice(DI::l10n()->t('You must be logged in to use this module'));
|
||||
|
@ -40,7 +40,7 @@ class Feed extends BaseModule
|
|||
}
|
||||
}
|
||||
|
||||
public static function content()
|
||||
public function content(): string
|
||||
{
|
||||
$result = [];
|
||||
if (!empty($_REQUEST['url'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue