Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create manually CB file when it is null #25

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

sarjona
Copy link
Member

@sarjona sarjona commented Jan 8, 2021

In Moodle 3.9.1 downwards, file is not created inside method $cb->create_content_from_file (it was added in https://tracker.moodle.org/browse/MDL-69143 from 3.9.2 onwards). It has to be created manually in order to make sure it will work as expected.

Apart from that, a couple of minor improvements have been added too (a mtrace and some extra spaces have been removed).

In Moodle 3.9.1 downwards, file is not created inside method
$cb->create_content_from_file. It has to be created manually in
order to make sure it will work as expected.
@sarjona sarjona linked an issue Jan 8, 2021 that may be closed by this pull request
@sarjona sarjona merged commit 801c531 into moodlehq:master Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception - Call to a member function get_filename() on null
1 participant