single commit with many changes.. (cleanup, refactoring ...)
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Fix for #321: Admins can't add members to protected groups
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merging functions.. 
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
typo in maintenance
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
ups, leftover from debugging..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
:D merging functions, the task was exactly the same ..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Docs are important.. We need to know what our functions do.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
ups, we should use the expected parameters...
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge pull request #322 from eurich/manage_membergroups

Manage membergroups refactoring
basic cleanup (global, deprecated code)
moved db query to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
db queries to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
methods visibility
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
more db queries to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>