another media handling merge.
[mir.git] / source / mircoders / storage / DatabaseUploadedMedia.java
index 416f890..8489e88 100755 (executable)
@@ -54,9 +54,10 @@ public class DatabaseUploadedMedia extends Database implements StorageObject {
    * returns the comments that belong to the article (via entityrelation)
    * where db-flag is_published is true
    */
-  public Entity getMediaType(EntityUploadedMedia ent) {
+  public Entity getMediaType(Entity ent) {
     Entity type=null;
     try {
+      theLog.printError("about to run relationMediaType");
       type = relationMediaType.getOne(ent);
     }
     catch (StorageObjectException e) {