There is some inconsistency IMO about when the activity navigation shows up (the left/right buttons at the bottom of an activity)
The code relevant here is:
- Topics: uses_course_index() == true, pagelayout = 'incourse' -> returns nothing
- Social: uses_course_index() == false, pagelayout = 'incourse' -> return links
This seems really strange, since I would expect regardless if a page uses a course index, that it shows the activity navigation links.
Is there any reason for this check ?