unused globals
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
methods visibility
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
cleanup
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Split db query from the controller.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
AdminLog methods visibility
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
AdminLog unused globals
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
use hooks in favour of file edits.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
readability
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
uups, a hook was already there ..
uups, a hook was already there ..
uuups, security is important!!
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge pull request #292 from eurich/refactor_admin_debug

Refactor AdminDebug & AdminLog
Fix copyright notice. New file with nothing copyrightable yet. There is nothing copyrightable in a select query with two params.

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

Fix copyright notice.
Theme selection checkbox in admin was unusable.

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

Theme select
basic cleanup (unused globals, empty lines, missing global..)
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Move functions to ManageAttachments subs...
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Split db queries to their own function.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
move more db queries to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>