mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30: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
|
@ -47,7 +47,7 @@ class Destroy extends BaseApi
|
|||
|
||||
$this->dba = $dba;
|
||||
}
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
$this->checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
|
|
@ -54,7 +54,7 @@ class NewDM extends BaseApi
|
|||
$this->directMessage = $directMessage;
|
||||
}
|
||||
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
$this->checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
|
|
@ -54,7 +54,7 @@ class Create extends BaseApi
|
|||
$this->friendicaCircle = $friendicaCircle;
|
||||
}
|
||||
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
$this->checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
|
|
@ -54,7 +54,7 @@ class Destroy extends BaseApi
|
|||
$this->friendicaCircle = $friendicaCircle;
|
||||
}
|
||||
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
$this->checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
|
|
@ -54,7 +54,7 @@ class Update extends BaseApi
|
|||
$this->friendicaCircle = $friendicaCircle;
|
||||
}
|
||||
|
||||
protected function rawContent(array $request = [])
|
||||
protected function post(array $request = [])
|
||||
{
|
||||
$this->checkAllowedScope(BaseApi::SCOPE_WRITE);
|
||||
$uid = BaseApi::getCurrentUserID();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue