mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Channels can now be based on the "network" feed as well
This commit is contained in:
parent
5479618f1c
commit
ffbab95c20
8 changed files with 200 additions and 157 deletions
|
@ -79,7 +79,7 @@ class Channels extends BaseSettings
|
|||
return;
|
||||
}
|
||||
|
||||
foreach (array_keys($request['label']) as $id) {
|
||||
foreach (array_keys((array)$request['label']) as $id) {
|
||||
if ($request['delete'][$id]) {
|
||||
$success = $this->channel->deleteById($id, $uid);
|
||||
$this->logger->debug('Channel deleted', ['id' => $id, 'success' => $success]);
|
||||
|
@ -116,6 +116,7 @@ class Channels extends BaseSettings
|
|||
|
||||
$circles = [
|
||||
0 => $this->l10n->t('Global Community'),
|
||||
-3 => $this->l10n->t('Network'),
|
||||
-1 => $this->l10n->t('Following'),
|
||||
-2 => $this->l10n->t('Followers'),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue