Save note on F5/quit
This commit is contained in:
@@ -133,6 +133,7 @@ class CATC extends Main
|
||||
}
|
||||
|
||||
public function setNote($iCourseId, $asOps) {
|
||||
if(is_string($asOps)) $asOps = json_decode($asOps, true);
|
||||
$oNote = new Note($this->oDb, $this->oAuth->getUserId(), $iCourseId);
|
||||
$sError = $oNote->setNote($asOps);
|
||||
$bSuccess = ($sError=='');
|
||||
|
||||
Reference in New Issue
Block a user