Permalink
Browse files

Removed unused function

  • Loading branch information...
1 parent b2a47e2 commit 59345eb4ec615a2e75bf836ddd698f90aec9dbd5 moodler committed May 4, 2003
Showing with 0 additions and 14 deletions.
  1. +0 −14 course/lib.php
View
@@ -532,20 +532,6 @@ function course_set_display($courseid, $display=0) {
return $USER->display[$courseid] = $display; // Note: = not ==
}
-function course_section_visible($courseid, $section) {
-/// Returns true/false depending on section visibility
-/// Can be expanded in the future to handle more complex
-/// course displays
-
- global $USER;
-
- if (empty($USER->display[$courseid])) {
- return true;
- }
-
- return $USER->display[$courseid] == $section;
-}
-
function set_section_visible($courseid, $sectionnumber, $visibility) {
/// For a given course section, markes it visible or hidden,
/// and does the same for every activity in that section

0 comments on commit 59345eb

Please sign in to comment.