and this time right...
[mir.git] / source / mircoders / entity / EntityVideo.java
index 372306d..b16d3d6 100755 (executable)
@@ -59,20 +59,6 @@ public class EntityVideo extends EntityUploadedMedia
     setStorage(theStorage);\r
   }\r
 \r
-  //\r
-  // methods\r
-\r
-  public void update() throws StorageObjectFailure {\r
-    super.update();\r
-\r
-    try {\r
-      theStorageObject.executeUpdate("update content set is_produced='0' where exists(select * from content_x_media where to_content=content.id and to_media=" + getId()+")");\r
-    }\r
-    catch (SQLException e) {\r
-      logger.error("EntityVideo.update: " + e.toString());\r
-    }\r
-  }\r
-\r
   public void setValues(Map theStringValues) {\r
     if (theStringValues != null) {\r
       if (!theStringValues.containsKey("is_published"))\r