Minor - Coding conventions

remotes/angel/1.11.x
Yannick Warnier 8 years ago
parent dba78de728
commit 2bc521a9d2
  1. 6
      main/exercise/exercise.class.php

@ -5831,11 +5831,11 @@ class Exercise
// check if we are before-or-after end-or-start date
if ($existsStartDate && $timeNow < api_strtotime($this->start_time, 'UTC')) {
$nowIsAfterStartDate = false;
}
}
if ($existsEndDate & $timeNow >= api_strtotime($this->end_time, 'UTC')) {
$nowIsBeforeEndDate = false;
}
}
// lets check all cases
if ($existsStartDate && !$existsEndDate) {
@ -5871,7 +5871,7 @@ class Exercise
// after start date and before end date
$isVisible = true;
$message = sprintf(get_lang('ExerciseIsActivatedFromXToY'),
api_convert_and_format_date($this->start_time),
api_convert_and_format_date($this->start_time),
api_convert_and_format_date($this->end_time));
} else {
// after start date and after end date

Loading…
Cancel
Save