-
Bug
-
Resolution: Fixed
-
Minor
-
2.6
-
MOODLE_26_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
master_
MDL-43218 -
Steps to reproduce
- Click Site Admin > Advanced Features
- Uncheck "Enable Blogs"
- Create a course
- Enrol the admin user
- Enter the course
- Click Navigation > Current Course > Course Name > Participants
What should happen
There should be no link to "Course blogs"
What happens
There is a link to "Course blogs". Clicking it gives an error:
Blogging is disabled!
More information about this error
Debug info:
Error code: blogdisable
Stack trace:
line 463 of /lib/setuplib.php: moodle_exception thrown
line 38 of /blog/index.php: call to print_error()