Moved the PM settings to its own page, and added the possibility to edit the limit of PMs archieved per membergroup from that page. Re-worked also updateMembergroupProperties

Signed-off-by: emanuele <emanuele45@gmail.com>
Used subs for PM controller (the function was there, refined a bit)

Signed-off-by: emanuele <emanuele45@gmail.com>
A function to load membergroups details...I wonder why this function didn't exist yet...did I miss it?

Signed-off-by: emanuele <emanuele45@gmail.com>
getMemberByName reused in PM controller and removed fatal error from the function

Signed-off-by: emanuele <emanuele45@gmail.com>
Not exactly sure what is used for, but $sort_by_query was always pm.id_pm due to missing break in switch

Signed-off-by: emanuele <emanuele45@gmail.com>
Unconverted $context to $pm_options

Signed-off-by: emanuele <emanuele45@gmail.com>
A function to retrieve the discussion id from a pm id and one to get all
the pm IDs in a discussion

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Make action_pmactions query-free

Signed-off-by: emanuele <emanuele45@gmail.com>
A function to retrieve all the PMs older than a certain date

Signed-off-by: emanuele <emanuele45@gmail.com>
Couple of missing things (some my falt some not :P)

Signed-off-by: emanuele <emanuele45@gmail.com>
Added accessibleGroups, it should work, not tested

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

Signed-off-by: Norv <a.w.norv@gmail.com>