methods visibility
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
db query to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
again, db query to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
another db query to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
db query to subs
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved prepareDisplayContext() to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved attachments related functions to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
removed outdated $db and global.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved db query to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
fixed undefined var bugs. Missing globals.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
$save_errors  was never used anywhere else -> removed
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Refactor the prepareDisplayContext callback as a callback method.

Signed-off-by: Norv <a.w.norv@gmail.com>
Refactor previous currentMessage() into currentContext() and reuse it
for Search controller.
Quick-wrap Search controller as a class and set up a similar callback method
for prepareSearchContext_callback().

Remove Display subs.

Signed-off-by: Norv <a.w.norv@gmail.com>
Allow guests to see quickhelp pages

Signed-off-by: Norv <a.w.norv@gmail.com>
Add countMessagesBefore() function to countMessagesSince().
Still feels like the deja-vu is here... (wasn't there one
for before too, or a combo? lol. Well now it starts to be. :P)

Signed-off-by: Norv <a.w.norv@gmail.com>
Move applyRules() and loadRules() to subs, rename the callback.
(small wip setting up pm controller for further refactoring)

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

Refactoring display (TE)