Forums | Mahara Community

Support /
Groups to delete


anonymous profile picture
Account deleted
Posts: 37

20 March 2009, 5:58

Hi!

Sorry, but I can't delete existing groups with my admin account.

For explanation: In this group there are no members at the moment, because I have deleted the members who have been in there.

Do I have to delete groups directly in the database?

Thanks for helping.

Dietmar 

anonymous profile picture
Account deleted
Posts: 1643

21 March 2009, 19:25

Hi - yes, you'd probably have to do some editing in the database, as we don't handle this case at the moment. There is a bug report about it.
anonymous profile picture
Account deleted
Posts: 1

19 August 2009, 0:22

Hi, can someone give me a quick tutorial on how to delete an orphaned group in the database?  I just inadvertently caused this (I had this tiny voice in the back of my head telling me it wasn't a good idea to delete a user without deleting the group they created first, but I failed to listen...). Yell

anonymous profile picture
Account deleted
Posts: 808

19 August 2009, 2:07

It's probably best to add yourself as a group admin, and then go and delete the group on the site.  For example if your user id is 33 and the group id is 44 then something like this should give you admin rights in the group:

INSERT INTO group_member ("group", member, role, ctime) VALUES (44, 33, 'admin', '2009-08-19');
4 results