Browse Source

Removing description from tests results, as this is generally an introductory description - refs BT#6120

Yannick Warnier 12 years ago
parent
commit
ba19a7e27b
1 changed files with 6 additions and 3 deletions
  1. 6 3
      main/exercice/exercise.class.php

+ 6 - 3
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;
     }
-}
+}