| [ Index ] |
PHP Cross Reference of Moodle 310 |
[Source view] [Print] [Project Stats]
Adhoc task that updates all of the existing forum_post records with no wordcount or no charcount.
| Copyright: | 2019 David Monllao |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 81 lines (3 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
refresh_forum_post_counts:: (2 methods):
execute()
update_null_forum_post_counts()
Class: refresh_forum_post_counts - X-Ref
Adhoc task that updates all of the existing forum_post records with no wordcount or no charcount.| execute() X-Ref |
| Run the task to populate word and character counts on existing forum posts. If the maximum number of records are updated, the task re-queues itself, as there may be more records to process. |
| update_null_forum_post_counts() X-Ref |
| Updates null forum post counts according to the post message. return: bool Whether there may be more rows to process |
| Generated: Wed Jan 22 11:59:49 2025 | Cross-referenced by PHPXref 0.7.1 |