Minor: Format code

pull/4362/head
Angel Fernando Quiroz Campos 4 years ago
parent 4d8e05831e
commit b66d3da61c
  1. 4
      main/lp/learnpathItem.class.php

@ -1749,7 +1749,7 @@ class learnpathItem
if (!Tracking::minimumTimeAvailable(api_get_session_id(), api_get_course_int_id())) {
$fixedAddedMinute = 5 * 60; // Add only 5 minutes
if ($time > $sessionLifetime) {
if ($time > $sessionLifetime) {
if (api_get_setting('server_type') === 'test') {
error_log("fixAbusiveTime: Total time is too big: $time replaced with: $fixedAddedMinute");
error_log("item_id : ".$this->db_id." lp_item_view.iid: ".$this->db_item_view_id);
@ -4115,7 +4115,7 @@ class learnpathItem
}
}
// It updates the last progress only in case.
// It updates the last progress only in case.
if (is_object($_SESSION['oLP'])) {
$_SESSION['oLP']->updateLpProgress();
}

Loading…
Cancel
Save