Commit 23699d3b authored by 3i Logic LMS's avatar 3i Logic LMS
Browse files

Restrict block access to course page

Restrict block access to course page!
parent 5bed9299
Loading
Loading
Loading
Loading
+9
Changes for block_learning_plan.php: 9 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -65,4 +65,13 @@ class block_learning_plan extends block_base {
        }
    return $this->content;
    }
    public function applicable_formats() {
  return array(
           'site-index' => true,
          'course-view' => false, 
   'course-view-social' => false,
                  'mod' => false, 
             'mod-quiz' => false
  );
}
}