Remove unused variables

pull/2495/head
jmontoyaa 8 years ago
parent d948c3a950
commit 6094513dfc
  1. 33
      app/config/course_info.conf.dist.php
  2. 1
      main/course_info/infocours.php

@ -8,36 +8,3 @@
*/
$course_info_is_editable = true;
/*
//if (basename($_SERVER['SCRIPT_FILENAME']) == basename(__FILE__)) die('Va voir ailleurs');
$showLinkToExportThisCourse = true;
$showLinkToBackupThisCourse = true;
$showLinkToRecycleThisCourse = true;
$showLinkToRestoreCourse = true;
$showLinkToCopyThisCourse = true;
*/
// If true, these fileds keep the previous content.
/*
$canBeEmpty['screenCode'] = false;
$canBeEmpty['course_title'] = false;
$canBeEmpty['course_category'] = true;
$canBeEmpty['description'] = true;
$canBeEmpty['visibility'] = false;
$canBeEmpty['titulary'] = false;
$canBeEmpty['course_language'] = false;
$canBeEmpty['department_name'] = true;
$canBeEmpty['department_url'] = true;
*/
$showDiskQuota = true;
//$showDiskUse = true;
//$showLinkToChangeDiskQuota = true;
$showExpirationDate = true;
$showCreationDate = true;
$showLastEdit = true;
$showLastVisit = true;
$canReportExpirationDate = true; // Needs to be true
// if ScriptToReportExpirationDate
// is not automaticly called
//$linkToChangeDiskQuota = 'changeQuota.php';
$urlScriptToReportExpirationDate = 'postpone.php'; // external script to postpone the expiration of course.

@ -7,7 +7,6 @@
*
* See ./inc/conf/course_info.conf.php for settings
*
* @todo Move $canBeEmpty from course_info.conf.php to config-settings
* @todo Take those config settings into account in this script
*
* @author Patrick Cool <patrick.cool@UGent.be>

Loading…
Cancel
Save