Minor - format code

pull/2573/head
Julio 8 years ago
parent 04ca68cdd1
commit 8a720b8e51
  1. 2
      main/inc/lib/exercise.lib.php
  2. 5
      main/lp/learnpath.class.php

@ -4556,8 +4556,6 @@ EOT;
*/
public static function getFeedbackText($message)
{
// Old style
//return '<div id="question_feedback">'.$message.'</div>';
return Display::return_message($message, 'warning', false);
}

@ -1830,7 +1830,10 @@ class learnpath
//&& !$this->items[$this->last_item_seen]->is_done()
) {
if ($this->debug > 2) {
error_log('In learnpath::first() - Last item seen is '.$this->last_item_seen.' of type '.$this->items[$this->last_item_seen]->get_type(), 0);
error_log(
'In learnpath::first() - Last item seen is '.$this->last_item_seen.' of type '.
$this->items[$this->last_item_seen]->get_type()
);
}
$index = -1;
foreach ($this->ordered_items as $myindex => $item_id) {

Loading…
Cancel
Save