*** empty log message ***
[mir.git] / source / mircoders / storage / DatabaseVideos.java
index 29d4662..a53c2c2 100755 (executable)
@@ -38,18 +38,17 @@ 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());   }
        }
 
-       public SimpleList getPopupData() {
+       public SimpleList getPopupData() throws StorageObjectException {
                return getPopupData("title",true);
        }
 
        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());