mirror of
https://github.com/friendica/friendica
synced 2025-04-27 06:30:12 +00:00
Merge pull request #6732 from MrPetovan/bug/1777-fix-blocked-contact-group
Allow to remove blocked contact from groups
This commit is contained in:
commit
df5ea1fab0
10 changed files with 406 additions and 372 deletions
|
@ -176,6 +176,12 @@ class System extends BaseObject
|
|||
exit();
|
||||
}
|
||||
|
||||
public static function jsonError($httpCode, $data, $content_type = 'application/json')
|
||||
{
|
||||
header($_SERVER["SERVER_PROTOCOL"] . ' ' . $httpCode);
|
||||
self::jsonExit($data, $content_type);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Encodes content to json.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue