MDL-48723 mod/forum: Fix cron task error on digest attachments.