Index: lesson.php =================================================================== RCS file: /cvsroot/moodle/moodle/mod/lesson/lesson.php,v retrieving revision 1.47 diff -u -r1.47 lesson.php --- lesson.php 30 Sep 2006 19:49:41 -0000 1.47 +++ lesson.php 18 Oct 2006 11:16:20 -0000 @@ -1,7 +1,7 @@ id); $context = get_context_instance(CONTEXT_MODULE, $cm->id); - -/// Set up some general variables - $usehtmleditor = can_use_html_editor(); - + /// Process the action switch ($action) { case 'addbranchtable': @@ -47,7 +44,6 @@ case 'addendofbranch': case 'addendofcluster': case 'delete': - case 'insertpage': case 'updatepage': case 'moveit': require_capability('mod/lesson:edit', $context); @@ -59,5 +55,5 @@ } print_footer($course); - + ?>