First step at re-organizing Recent.controller

Signed-off-by: emanuele <emanuele45@gmail.com>
Another round of moving things around in Recent.controller

Signed-off-by: emanuele <emanuele45@gmail.com>
Move out of Recent controller some temporary table creation

Signed-off-by: emanuele <emanuele45@gmail.com>
A broken query (CREATE TEMPORARY) and an undefined variable

Signed-off-by: emanuele <emanuele45@gmail.com>
Another query out of Recent controller

Signed-off-by: emanuele <emanuele45@gmail.com>
And that's it, no more queris into Recent controller

Signed-off-by: emanuele <emanuele45@gmail.com>
Look like the function validateEventPost came back during some rebase

Signed-off-by: emanuele <emanuele45@gmail.com>
Couple of similar lines

Signed-off-by: emanuele <emanuele45@gmail.com>
Begin to merge Unread/Unreadreplies and MessageIndex topic listing preparation

Signed-off-by: emanuele <emanuele45@gmail.com>
Removed the option "Show most recent posts at the top"

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Attempt to simplify getFileVersions

Signed-off-by: emanuele <emanuele45@gmail.com>
Copy&paste detection

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

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Documentation of Recent.subs.php

Signed-off-by: emanuele <emanuele45@gmail.com>
_query_this_board was useless in Recent.controller.php and in most of the Recent.subs.php

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

Signed-off-by: emanuele <emanuele45@gmail.com>
Unify template_replies and template_unread

Signed-off-by: emanuele <emanuele45@gmail.com>
Some moving around in Recent-controller.php

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