From ba19a7e27b3acbd35dff8d8483a9b3dfa6eda734 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Fri, 26 Apr 2013 11:02:18 -0500 Subject: [PATCH] Removing description from tests results, as this is generally an introductory description - refs BT#6120 --- main/exercice/exercise.class.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/main/exercice/exercise.class.php b/main/exercice/exercise.class.php index 312db82a11..284b47154b 100644 --- a/main/exercice/exercise.class.php +++ b/main/exercice/exercise.class.php @@ -3455,11 +3455,14 @@ class Exercise { if (!empty($user_data)) { $array[] = array('title' => get_lang("User"), 'content' => $user_data); } - + // Description can be very long and is generally meant to explain + // rules *before* the exam. Leaving here to make display easier if + // necessary + /* if (!empty($this->description)) { $array[] = array('title' => get_lang("Description"), 'content' => $this->description); } - + */ if (!empty($start_date)) { $array[] = array('title' => get_lang("StartDate"), 'content' => $start_date); } @@ -3900,4 +3903,4 @@ class Exercise { } return $list; } -} \ No newline at end of file +}