mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:10:11 +00:00
Switch data source from notify to notification in Module\Notifications\Ping
- Change unused FormattedNotification classes to FormattedNavNotification classes
This commit is contained in:
parent
1ae7cac236
commit
49971b1465
7 changed files with 299 additions and 627 deletions
|
@ -334,9 +334,10 @@ class System
|
|||
* and adds an application/json HTTP header to the output.
|
||||
* After finishing the process is getting killed.
|
||||
*
|
||||
* @param mixed $x The input content.
|
||||
* @param string $content_type Type of the input (Default: 'application/json').
|
||||
* @param integer $options JSON options
|
||||
* @param mixed $x The input content
|
||||
* @param string $content_type Type of the input (Default: 'application/json')
|
||||
* @param integer $options JSON options
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
*/
|
||||
public static function jsonExit($x, $content_type = 'application/json', int $options = 0) {
|
||||
DI::apiResponse()->setType(Response::TYPE_JSON, $content_type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue