misc. maintenance
[mir.git] / source / mircoders / entity / EntityComment.java
index 30bee5d..bfdbd2e 100755 (executable)
@@ -46,7 +46,7 @@ import mir.storage.*;
  * This class maps one line of the comment-table to a java-object.
  *
  * @author $Author: zapata $
- * @version $Revision: 1.11 $ $Date: 2002/12/01 22:13:37 $
+ * @version $Revision: 1.12 $ $Date: 2002/12/02 12:33:23 $
  */
 
 
@@ -87,33 +87,4 @@ public class EntityComment extends Entity
     }
     super.setValues(theStringValues);
   }
-
-  /**
-   * overridden method getValue to include formatted date into every
-   * entityContent
-   */
-
-  public String getValue(String field)
-  {
-    String returnField = null;
-    if (field!=null)
-    {
-      if (field.equals("date_formatted") || field.equals("webdb_create_short"))
-      {
-        if (hasValueForField("webdb_create"))
-          returnField = StringUtil.dateToReadableDate(getValue("webdb_create"));
-      }
-      else if (field.equals("description_parsed")) {
-        /** @todo the config stuff should be moved to StringUtil */
-        String extLinkName = MirConfig.getProp("Producer.ExtLinkName");
-        String intLinkName = MirConfig.getProp("Producer.IntLinkName");
-        String mailLinkName = MirConfig.getProp("Producer.MailLinkName");
-        String imageRoot = MirConfig.getProp("Producer.ImageRoot");
-        returnField = StringUtil.createHTML(getValue("description"),imageRoot,mailLinkName,extLinkName,intLinkName);
-      }
-      else
-        return super.getValue(field);
-    }
-    return returnField;
-  }
 }