Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.6
-
Component/s: Navigation
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_26_STABLE
-
Fixed Branches:MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
-
Pull from Repository:
-
Pull Master Branch:master_
MDL-43218 -
Pull Master Diff URL:
Description
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()