mirror of
https://github.com/friendica/friendica
synced 2025-04-21 05:10:11 +00:00
Use "post" instead of "rawContent"
This commit is contained in:
parent
344c5fa595
commit
28d67bfef0
12 changed files with 12 additions and 12 deletions
|
@ -36,7 +36,7 @@ use Friendica\Protocol\Diaspora;
|
|||
*/
|
||||
class Activity extends BaseModule
|
||||
{
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
if (!DI::userSession()->isAuthenticated()) {
|
||||
throw new HTTPException\ForbiddenException();
|
||||
|
|
|
@ -33,7 +33,7 @@ use Friendica\Network\HTTPException;
|
|||
*/
|
||||
class Follow extends BaseModule
|
||||
{
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
$l10n = DI::l10n();
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ use Friendica\Network\HTTPException;
|
|||
*/
|
||||
class Ignore extends BaseModule
|
||||
{
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
$l10n = DI::l10n();
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ use Friendica\Network\HTTPException;
|
|||
*/
|
||||
class Pin extends BaseModule
|
||||
{
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
$l10n = DI::l10n();
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ use Friendica\Network\HTTPException;
|
|||
*/
|
||||
class Star extends BaseModule
|
||||
{
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
$l10n = DI::l10n();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue