Project

General

Profile

« Previous | Next » 

Revision 1560

Added by Jing Tao over 21 years ago

Change writereplication method to non-static.

View differences:

src/edu/ucsb/nceas/metacat/DocumentImplWrapper.java
72 72
                              groups, ruleBase, needValidation);
73 73
  }
74 74
  
75
  public static String writeReplication(DBConnection conn, Reader xml, 
75
  public String writeReplication(DBConnection conn, Reader xml, 
76 76
                                        String pub, Reader dtd, String action, 
77 77
                                        String accnum, String user,
78 78
                                        String[] groups,String homeServer, 
......
83 83
    // so rule base is null and need validation is false
84 84
    return DocumentImpl.writeReplication(conn, xml, pub, dtd, action, 
85 85
                                        accnum, user, groups, homeServer, 
86
                                        notifyServer, null, false);
86
                                        notifyServer, ruleBase, false);
87 87
  }
88 88
}//DocumentImple

Also available in: Unified diff