* This class maps one line of the comment-table to a java-object.
*
* @author $Author: zapata $
- * @version $Revision: 1.16.2.6 $ $Date: 2005/03/26 11:26:26 $
+ * @version $Revision: 1.16.2.7 $ $Date: 2005/10/30 00:46:58 $
*/
/**
* Deattaches media from a comment
*/
- public void dettach(String aCommentId,String aMediaId) throws DatabaseFailure
- {
+ public void dettach(String aCommentId,String aMediaId) throws DatabaseFailure {
if (aMediaId!=null){
DatabaseCommentToMedia.getInstance().delete(aCommentId, aMediaId);
DatabaseContent.getInstance().setUnproduced("id="+getFieldValue("to_media"));
DatabaseContent.getInstance().setUnproduced("id="+getFieldValue("to_media"));
}
else {
- logger.error("EntityContent: attach without mid");
+ getLogger().error("EntityContent: attach without mid");
}
}
}