MDL-66694 mod_forum: Word/char count tidy ups & add task config option
authorMichael Hawkins <michaelh@moodle.com>
Thu, 17 Oct 2019 06:24:16 +0000 (14:24 +0800)
committerMichael Hawkins <michaelh@moodle.com>
Thu, 17 Oct 2019 08:13:23 +0000 (16:13 +0800)
commitd21d6baac6892150c650a4c8b96069cb5489eaa6
tree8b930fd099365297d594c322cd4bcdab98ac5c6e
parent3c36cdb1501834e56e2ae216b390c8f0cff78eb1
MDL-66694 mod_forum: Word/char count tidy ups & add task config option

The chunk size used by the existing post word/char count calculation
ad-hoc task can now be set as a $CFG parameter. Also improved the way
the ad-hoc task is re-queued and tidied up some redundant code.
config-dist.php
mod/forum/backup/moodle2/restore_forum_stepslib.php
mod/forum/classes/local/entities/post.php
mod/forum/classes/task/refresh_forum_post_counts.php
mod/forum/lib.php
mod/forum/tests/generator/lib.php
mod/forum/upgrade.txt