db queries to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge branch 'master' of https://github.com/elkarte/Elkarte into stats_controller
moved some db queries to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved a db query to subs, LIMIT is now configurable via $modSettings['stats_limit']
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
again, db query to subs with configurable limit.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved db query for topic replies to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
moved db queries for topic views to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
forgot to add the new $modSettings['stats_limit'] setting.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
removed useless parameter, added missing docs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
added a subs function for top topic starters.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
added a subs function for top topic starters.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
fixed undefined index errors due to incomplete functions.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
added function and moved db query to subs.
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
docs, docs, docs .. and yet again docs :P
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge pull request #603 from eurich/stats_controller

Stats controller refactoring

Oh well, I'm drunk enough to merge without caring too much about the consequences.
/me blames @Norv anyway