Browse Source

[svn r18457] delete obsolete fckeditor settings

Juan Carlos Raña 16 years ago
parent
commit
27c9997836
1 changed files with 1 additions and 17 deletions
  1. 1 17
      main/calendar/agenda.php

+ 1 - 17
main/calendar/agenda.php

@@ -1,4 +1,4 @@
-<?php //$Id: agenda.php 18446 2009-02-11 20:41:40Z ivantcholakov $
+<?php //$Id: agenda.php 18457 2009-02-11 23:13:18Z herodoto $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -299,22 +299,6 @@ if (empty($_GET['origin']) or $_GET['origin']!='learnpath')
 	echo '<td width="20" background="../img/verticalruler.gif">&nbsp;</td>';
 }
 
-/*
-//TODO: This fragment of code is obsolete and is to be deleted. Ivan Tcholakov.
-//TODO: meet this fckeditor code and agenda.inc.php fckeditor code
-$fck_attribute['Config']['CreateDocumentDir'] = api_get_path('WEB_COURSE_PATH').$_course['path'].'/document/';
-$fck_attribute['Config']['CreateDocumentWebDir'] = api_get_path('WEB_COURSE_PATH').$_course['path'].'/document/';
-
-if(isset($_SESSION['_course']) && $_SESSION['_course']['path']!='')
-{
-	$upload_path = api_get_path(REL_COURSE_PATH).$_SESSION['_course']['path'].'/document/';
-}
-else
-{
-	$upload_path = api_get_path(REL_PATH).'main/default_course_document/'; //TODO: check if this is correct or better main/upload/num_user/my_files
-}
-*/
-
 // THE RIGHT PART
 echo '<td valign="top">';
 echo '<div class="sort" style="float:left">';