[Logicampus-cvs] logicampus/src/logicreate/services/test question.lcp, 1.4, 1.5 take.lcp, 1.8, 1.9
Brought to you by:
trilexcom
From: Mark K <har...@us...> - 2007-11-08 17:08:13
|
Update of /cvsroot/logicampus/logicampus/src/logicreate/services/test In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv5865/services/test Modified Files: question.lcp take.lcp Log Message: Fix assessment decompress questions and answers. Remove debugging notice when completing a test. Index: question.lcp =================================================================== RCS file: /cvsroot/logicampus/logicampus/src/logicreate/services/test/question.lcp,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** question.lcp 20 Sep 2004 05:29:11 -0000 1.4 --- question.lcp 8 Nov 2007 17:08:04 -0000 1.5 *************** *** 54,58 **** ! /* * Main function which handles test taking for students. Students are brought to here from * test/take/event=start/id=$assessmentId --- 54,58 ---- ! /** * Main function which handles test taking for students. Students are brought to here from * test/take/event=start/id=$assessmentId *************** *** 65,72 **** */ ! function Run(&$db,&$u,&$lc,&$t) { // assume we want to display something, because no event was passed in ! $this->displayRun($db,&$u,&$lc,&$t); } --- 65,72 ---- */ ! function run(&$db,&$u,&$lc,&$t) { // assume we want to display something, because no event was passed in ! $this->displayRun($db,$u,$lc,$t); } *************** *** 104,108 **** if (is_object($test)) { $log = $test->getLastLogEntry($u->username); - #$debug($log); exit(); $log->endDate = time(); $log->save(); --- 104,107 ---- *************** *** 291,295 **** if ($qstId) { $lc->postvars['questionID'] = $qstId; ! $this->displayRun($db,&$u,&$lc,&$t); return; # $qst = AssessmentQuestion::load($qstId, $u->activeClassTaken->id_classes); --- 290,294 ---- if ($qstId) { $lc->postvars['questionID'] = $qstId; ! $this->displayRun($db,$u,$lc,$t); return; # $qst = AssessmentQuestion::load($qstId, $u->activeClassTaken->id_classes); Index: take.lcp =================================================================== RCS file: /cvsroot/logicampus/logicampus/src/logicreate/services/test/take.lcp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** take.lcp 14 Sep 2005 18:19:25 -0000 1.8 --- take.lcp 8 Nov 2007 17:08:04 -0000 1.9 *************** *** 67,71 **** * */ ! function Run(&$db,&$u,&$lc,&$t) { include_once(LIB_PATH.'ClassGradebookEntries.php'); include_once(LIB_PATH.'ClassGradebookVal.php'); --- 67,71 ---- * */ ! function run(&$db,&$u,&$lc,&$t) { include_once(LIB_PATH.'ClassGradebookEntries.php'); include_once(LIB_PATH.'ClassGradebookVal.php'); *************** *** 290,294 **** function stopRun($db, &$u, &$lc, &$t) { $log = $u->sessionvars['testObj']->log; - debug($log); if (!$log) { # there was a serious problem --- 290,293 ---- |