diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-01 12:58:47 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-01-01 12:58:47 +0000 |
commit | e2ef6b4a49fdf4a8696dc9b2c4c6bff76df59fef (patch) | |
tree | d5f63931bbbe0eb10a17877ab7d62c6356c723ba /mod/groups/actions/edit.php | |
parent | 079a3a59fee4bcd9c3c749508ade6242ae1e0b43 (diff) | |
download | elgg-e2ef6b4a49fdf4a8696dc9b2c4c6bff76df59fef.tar.gz elgg-e2ef6b4a49fdf4a8696dc9b2c4c6bff76df59fef.tar.bz2 |
groups owners can choose if they want pages/files/forum enabled or not. Still a little more to do, this is just the beginning code.
git-svn-id: https://code.elgg.org/elgg/trunk@2526 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions/edit.php')
-rw-r--r-- | mod/groups/actions/edit.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/groups/actions/edit.php b/mod/groups/actions/edit.php index 8a99e98e6..0973bc1ca 100644 --- a/mod/groups/actions/edit.php +++ b/mod/groups/actions/edit.php @@ -66,6 +66,11 @@ // Get access $group->access_id = get_input('access_id', 0); + // Set group tool options + $group->files_enable = get_input('files_enable', 'yes'); + $group->pages_enable = get_input('pages_enable', 'yes'); + $group->forum_enable = get_input('forum_enable', 'yes'); + $group->save(); if (!$group->isMember($user)) |