unused code $ globals..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
$db init wasn't needed
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
unused globals, blank line.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
basic cleaning
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
unused globals & var
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
unused global
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
removed unused globals, $expired wasn't initialized.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
wrong var was used..
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Missing div that prevented change the page index when splitting ajaxively a topic

Signed-off-by: emanuele <emanuele45@gmail.com>
Even for xml actions we need index.template.php because in certain cases we need template_init...

Signed-off-by: emanuele <emanuele45@gmail.com>
A $db not used

Signed-off-by: emanuele <emanuele45@gmail.com>
Removed a couple of queries from SplitTopics_Controller reusing and expanding the messageAt function

Signed-off-by: emanuele <emanuele45@gmail.com>
/me thinks these functions belong to Topic.subs.php

Signed-off-by: emanuele <emanuele45@gmail.com>
changed parameter to messageAt in only_approved instead

Signed-off-by: emanuele <emanuele45@gmail.com>
Some missing "IF NOT EXISTS" in upgrades

Signed-off-by: emanuele <emanuele45@gmail.com>
Revert "A $db not used"

This reverts commit 0e5fc3534bf024360d14f00f24c55e28cf58a108.

Signed-off-by: emanuele <emanuele45@gmail.com>
Badly initialized variable... - Thanks Norv

Signed-off-by: emanuele <emanuele45@gmail.com>
 Fix some undefined indexes due to the recent changes somewhere

Signed-off-by: emanuele <emanuele45@gmail.com>
Fixed stupid error - Thanks Norv!

Signed-off-by: emanuele <emanuele45@gmail.com>
$_SESSION stored in variable and passed to countSplitMessages - Thanks
Norv for the suggestion

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