From a483c6dd7bbc01b91eaaffba9944a5480a511f26 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Sat, 26 May 2007 23:37:28 +0200 Subject: [PATCH] [svn r12480] Fixed loss of style when not allowed on page --- main/newscorm/lp_controller.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main/newscorm/lp_controller.php b/main/newscorm/lp_controller.php index 727968d051..b518383d63 100644 --- a/main/newscorm/lp_controller.php +++ b/main/newscorm/lp_controller.php @@ -33,14 +33,9 @@ if($debug>0) error_log('New LP - Included aiccItem',0); require_once('back_compat.inc.php'); if($debug>0) error_log('New LP - Included back_compat',0); -api_protect_course_script(); -//TODO @TODO define tool, action and task to give as parameters to: -//$is_allowed_to_edit = api_is_allowed_to_edit(); if ($is_allowed_in_course == false){ - //Display::display_header(''); api_not_allowed(true); - //Display::display_footer(); } require_once(api_get_path(LIBRARY_PATH) . "/fckeditor/fckeditor.php");