Learning path: Disable auto status update for assets in a Chamilo LP

#3584

This change removes the code that forces the asset to be "completed".
pull/3683/head
Julio Montoya 5 years ago
parent 3541c65d45
commit a0cc55bc47
  1. 7
      main/lp/learnpathItem.class.php

@ -271,16 +271,15 @@ class learnpathItem
true
);
} else {
$this->status = $this->possible_status[2];
/*$this->status = $this->possible_status[2];
if (self::DEBUG) {
error_log("STATUS changed to: ".$this->status);
}
}*/
}
}
if ($this->save_on_close) {
if ($debug) {
error_log("save_on_close: ");
error_log('save_on_close');
}
$this->save();
}

Loading…
Cancel
Save