Hello,
Does the deletion of user bayesian data work for anybody?
I am getting "server error" message every time I try to use this functionality.
It seems like the problem is with the following piece of code in
purge_bayes() function:
if ($rcmail->config->get('sauserprefs_bayes_delete_query', true)) {
$this->api->output->command('display_message', $this->gettext('servererror'), 'error');
return;
}($rcmail->config->get('sauserprefs_bayes_delete_query', true)) always returns TRUE and further lines of the function are never executed.
After commenting out the above part everything works as expected.
(However, I suppose, this code should rather be fixed than removed
)