mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:50:12 +00:00
Move mod/nogroup to src/Module/Group
This commit is contained in:
parent
900fe158f5
commit
1ef4b9c7e4
3 changed files with 4 additions and 24 deletions
|
@ -176,7 +176,9 @@ class Group extends BaseModule
|
|||
|
||||
$nogroup = false;
|
||||
|
||||
if (($a->argc == 2) && ($a->argv[1] === 'none')) {
|
||||
// @TODO: Replace with parameter from router
|
||||
if (($a->argc == 2) && ($a->argv[1] === 'none') ||
|
||||
($a->argc == 1) && ($a->argv[0] === 'nogroup')) {
|
||||
$id = -1;
|
||||
$nogroup = true;
|
||||
$group = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue