Skip to content

v1.0.3 — load filelib.php (generate_audio fatal)

Choose a tag to compare

@dta121 dta121 released this 29 May 11:17
· 20 commits to main since this release

Fixed

  • generate_audio still fatalled after 1.0.2 with Call to undefined function file_rewrite_pluginfile_urls(). That function is defined in lib/filelib.php, which Moodle does not auto-load in the cron / adhoc-task context the extractor runs in, so the global was genuinely undefined there — the 1.0.2 namespace qualification only changed the error text, not the outcome. content_extractor::extract() now require_onces $CFG->libdir/filelib.php before use. Verified on the dev host that this makes the function available (html_to_text and get_coursemodule_from_id were already loaded). The 1.0.2 namespace qualifications are retained.

Full changelog: v1.0.2...v1.0.3