Project

General

Profile

« Previous | Next » 

Revision 1078

Added by Jing Tao almost 22 years ago

Add a control to accept data or not

View differences:

ReplicationHandler.java
306 306
            }
307 307
          }//if for non-data file
308 308
          
309
           // this is for data file
310
          if(flag && dataFile)
309
           // this is for data file and metacat is configured to accetp datafile
310
          if(flag && dataFile 
311
                   && (util.getOption("replicationacceptdata")).equals("on"))
311 312
          { 
312 313
            //if the document needs to be updated or inserted, this is executed
313 314
            //String newxmldoc = MetacatReplication.getURLContent(u);

Also available in: Unified diff