mirror of
https://github.com/friendica/friendica
synced 2025-04-25 05:10:11 +00:00
Replace "group" with "circle" in the rest of the code
- Remaining mentions already mean "forum"
This commit is contained in:
parent
4f6e02357a
commit
4f7740264e
120 changed files with 1308 additions and 1304 deletions
|
@ -62,9 +62,9 @@ class Update extends BaseApi
|
|||
'source' => '',
|
||||
'include_entities' => false,
|
||||
'contact_allow' => $owner['allow_cid'],
|
||||
'group_allow' => $owner['allow_gid'],
|
||||
'circle_allow' => $owner['allow_gid'],
|
||||
'contact_deny' => $owner['deny_cid'],
|
||||
'group_deny' => $owner['deny_gid'],
|
||||
'circle_deny' => $owner['deny_gid'],
|
||||
], $request);
|
||||
|
||||
if (!empty($request['htmlstatus'])) {
|
||||
|
@ -102,9 +102,9 @@ class Update extends BaseApi
|
|||
|
||||
$aclFormatter = DI::aclFormatter();
|
||||
$item['allow_cid'] = $aclFormatter->toString($request['contact_allow']);
|
||||
$item['allow_gid'] = $aclFormatter->toString($request['group_allow']);
|
||||
$item['allow_gid'] = $aclFormatter->toString($request['circle_allow']);
|
||||
$item['deny_cid'] = $aclFormatter->toString($request['contact_deny']);
|
||||
$item['deny_gid'] = $aclFormatter->toString($request['group_deny']);
|
||||
$item['deny_gid'] = $aclFormatter->toString($request['circle_deny']);
|
||||
|
||||
if (!empty($item['allow_cid'] . $item['allow_gid'] . $item['deny_cid'] . $item['deny_gid'])) {
|
||||
$item['private'] = Item::PRIVATE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue