Rework of retrieveMemberData, approveMembers and enforceReactivation to make them more flexible

Signed-off-by: emanuele <emanuele45@gmail.com>
No, this is correct like this, otherwise the last check is broken

Signed-off-by: emanuele <emanuele45@gmail.com>

I should learn read my own functions... lol

Okay, that should fix that darn function...
Fixed topic announcement, added group_name to the query in getGroups and removed the redundant query in Announce_Controller->action_selectgroup

Signed-off-by: emanuele <emanuele45@gmail.com>
Reworked retrieveMemberData to add other two conditions, allow limit and used the function in Announce_Controller->action_send to remove a query from the controller

Signed-off-by: emanuele <emanuele45@gmail.com>
getEventProperties can query only the properties from the calendar table, used getEventProperties in Calendar_Controller instead of the query

Signed-off-by: emanuele <emanuele45@gmail.com>
A function that creates a report or updates an existing one

Signed-off-by: emanuele <emanuele45@gmail.com>
splitTopic refactor, the function was already in Topics.subs.php

Signed-off-by: emanuele <emanuele45@gmail.com>
Some re-working of getBoardModerators to accomodate also the return of only the ids + created the function allBoardModerators to get the moderators of all the boards

Signed-off-by: emanuele <emanuele45@gmail.com>
Another bunch of refactoring: board moderators and membergroups

A $user_info left around... Thanks Norv!

Signed-off-by: emanuele <emanuele45@gmail.com>
Another getGroupModerators

Fixed wrong variable name - Thanks Norv

Signed-off-by: emanuele <emanuele45@gmail.com>
Created a membergroupById that retrieves only 1 group and used the new function

Signed-off-by: emanuele <emanuele45@gmail.com>
Missed separator.

Signed-off-by: Norv <a.w.norv@gmail.com>
Merge pull request #482 from norv/ema_r

reorg_function (Ema)