Index: openacs-4/packages/evaluation/www/answer-add-edit-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/evaluation/www/answer-add-edit-postgresql.xql,v diff -u -r1.9 -r1.10 --- openacs-4/packages/evaluation/www/answer-add-edit-postgresql.xql 10 Sep 2004 19:16:30 -0000 1.9 +++ openacs-4/packages/evaluation/www/answer-add-edit-postgresql.xql 7 Apr 2005 11:26:58 -0000 1.10 @@ -11,17 +11,6 @@ - - - - select task_item_id, task_name - from evaluation_tasks - where task_id = :task_id - - - - - @@ -34,14 +23,6 @@ - - - - select late_submit_p from evaluation_tasks where task_id = :task_id - - - - @@ -50,17 +31,6 @@ - - - - select crr.title, crr.item_id - from evaluation_answers ea, cr_revisions crr - where ea.answer_id = :answer_id - and crr.revision_id = ea.answer_id - - - - @@ -81,4 +51,16 @@ + + + + update cr_revisions + set content = :file_name, + mime_type = :mime_type, + content_length = :content_length + where revision_id = :revision_id + + + +