mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:10:11 +00:00
Make BaseModule methods dynamic
This commit is contained in:
parent
714f0febc4
commit
489cd0884a
253 changed files with 397 additions and 385 deletions
|
@ -31,7 +31,7 @@ use Friendica\Protocol\ActivityPub;
|
|||
*/
|
||||
class Followers extends BaseModule
|
||||
{
|
||||
public static function rawContent()
|
||||
public function rawContent()
|
||||
{
|
||||
if (empty(static::$parameters['nickname'])) {
|
||||
throw new \Friendica\Network\HTTPException\NotFoundException();
|
||||
|
|
|
@ -31,7 +31,7 @@ use Friendica\Protocol\ActivityPub;
|
|||
*/
|
||||
class Following extends BaseModule
|
||||
{
|
||||
public static function rawContent()
|
||||
public function rawContent()
|
||||
{
|
||||
if (empty(static::$parameters['nickname'])) {
|
||||
throw new \Friendica\Network\HTTPException\NotFoundException();
|
||||
|
|
|
@ -35,7 +35,7 @@ use Friendica\Util\Network;
|
|||
*/
|
||||
class Inbox extends BaseModule
|
||||
{
|
||||
public static function rawContent()
|
||||
public function rawContent()
|
||||
{
|
||||
$postdata = Network::postdata();
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ use Friendica\Util\Strings;
|
|||
*/
|
||||
class Objects extends BaseModule
|
||||
{
|
||||
public static function rawContent()
|
||||
public function rawContent()
|
||||
{
|
||||
if (empty(static::$parameters['guid'])) {
|
||||
throw new HTTPException\BadRequestException();
|
||||
|
|
|
@ -31,7 +31,7 @@ use Friendica\Util\HTTPSignature;
|
|||
*/
|
||||
class Outbox extends BaseModule
|
||||
{
|
||||
public static function rawContent()
|
||||
public function rawContent()
|
||||
{
|
||||
if (empty(static::$parameters['nickname'])) {
|
||||
throw new \Friendica\Network\HTTPException\NotFoundException();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue