neue forms
[mir.git] / source / mircoders / storage / DatabaseVideos.java
index 2cfa8e5..5c71b3e 100755 (executable)
@@ -7,9 +7,9 @@ import java.util.*;
 
 import freemarker.template.*;
 
-import webdb.storage.*;
-import webdb.entity.*;
-import webdb.misc.*;
+import mir.storage.*;
+import mir.entity.*;
+import mir.misc.*;
 
 /**
  * <b>Diese Klasse implementiert die Datenbankverbindung zur MetaObjekt-Tabelle
@@ -38,7 +38,7 @@ public class DatabaseVideos extends Database implements StorageObject{
                this.theTable="videos";
                this.theCoreTable="media";
                try {
-                       this.theEntityClass = Class.forName("mir.entity.EntityVideo");
+                       this.theEntityClass = Class.forName("mircoders.entity.EntityVideo");
                }
                catch (Exception e) { throw new StorageObjectException(e.toString());   }
        }
@@ -49,7 +49,6 @@ public class DatabaseVideos extends Database implements StorageObject{
 
        public void update(Entity theEntity) throws StorageObjectException
        {
-               theEntity.setValueForProperty("to_media_type","3");
                String date = theEntity.getValue("date");
                if (date==null){
                        date = StringUtil.date2webdbDate(new GregorianCalendar());