Group files are not copied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Feature needs to be completed:
- group membership is not copied over and neither are journals or files
- update the manual https:/
/**
* Duplicate group - make a copy of the the group's pages, collections and group settings.
*
* The group’s files, journals, pages, collections and group settings are copied. Group membership and forums are not copied.
*
* @param string/int $groupid The id of the group to copy
* @param string $return The place to return to after the copying
*
* @TODO: Copy forums / files / journals not associated with views/blocks.
* @TODO: Copy existing members to new group.
*/
function group_copy(
It is correct that the group membership is not copied to the duplicated group. It is also correct that forum topics are not copied. However, forums themselves could be copied so that the groups have a similar structure.
Files, journals, and plans should be copied though.