The new recordset support for Postgres requires transactions and
will cause errors if recordsets are not closed correctly. This
commit fixes problems that were identified during unit tests, and
via some basic code analysis, across all core code. Most of these
are incorrect usage of recordset (forgetting to close them).
Why? Because this tool does not support contexts, allows data modifications and is intended only for admins. It is still linked from admin reports for now, we will move it elsewhere once we know where to add general new reports.
AMOS BEGIN
MOV [pluginname,report_spamcleaner],[pluginname,tool_spamcleaner]
MOV [spamauto,report_spamcleaner],[spamauto,tool_spamcleaner]
MOV [spamcannotdelete,report_spamcleaner],[spamcannotdelete,tool_spamcleaner]
MOV [spamcannotfinduser,report_spamcleaner],[spamcannotfinduser,tool_spamcleaner]
MOV [spamcleanerintro,report_spamcleaner],[spamcleanerintro,tool_spamcleaner]
MOV [spamdeleteall,report_spamcleaner],[spamdeleteall,tool_spamcleaner]
MOV [spamdeleteallconfirm,report_spamcleaner],[spamdeleteallconfirm,tool_spamcleaner]
MOV [spamdeleteconfirm,report_spamcleaner],[spamdeleteconfirm,tool_spamcleaner]
MOV [spamdesc,report_spamcleaner],[spamdesc,tool_spamcleaner]
MOV [spameg,report_spamcleaner],[spameg,tool_spamcleaner]
MOV [spamfromblog,report_spamcleaner],[spamfromblog,tool_spamcleaner]
MOV [spaminvalidresult,report_spamcleaner],[spaminvalidresult,tool_spamcleaner]
MOV [spamoperation,report_spamcleaner],[spamoperation,tool_spamcleaner]
MOV [spamresult,report_spamcleaner],[spamresult,tool_spamcleaner]
MOV [spamsearch,report_spamcleaner],[spamsearch,tool_spamcleaner]
AMOS END