get url
authorrk <rk>
Fri, 8 Feb 2002 02:24:54 +0000 (02:24 +0000)
committerrk <rk>
Fri, 8 Feb 2002 02:24:54 +0000 (02:24 +0000)
source/mircoders/entity/EntityContent.java

index 68e4a77..28707fe 100755 (executable)
@@ -379,16 +379,6 @@ public class EntityContent extends Entity
         // ################ TODO: see getUploadedMediaForContent
         //we most likely need further info
         upMedia = mediaStorage.selectById(upMedia.getId());
-        try {
-          // ############### ditto
-          String url = mediaHandler.getListView(upMedia, mediaType);
-          //upMediaSimpleHash.put("url", url);
-          upMedia.setValueForProperty("url", url);
-          theLog.printDebugInfo("url is "+  url);
-        }
-        catch (Exception ex) {
-          throw new TemplateModelException(ex.toString());
-        }
 
         // putting media in the apropriate list container
         if (upMedia.getValue("is_published").equals("1")) {