Project

General

Profile

« Previous | Next » 

Revision 2681

Added by sgarg over 18 years ago

Removed code entered in previous commit as it is no longer needed

View differences:

src/edu/ucsb/nceas/metacat/DBQuery.java
271 271
        StringBuffer xml = createResultDocument(xmlquery, qspec, nonout, user,
272 272
                                                groups, useXMLIndex);
273 273
        
274
        
275
        // if moderator is logged into the system and no option for 
276
        // enable-editing is specified then enable editing by default
277
        if(MetaCatUtil.isModerator(user, groups) && params.get("enableediting") == null){
278
        	params.put("enableediting", new String[]{"true"});
279
        }
280
        
281 274
        //transfer the xml to html
282 275
        try
283 276
        {

Also available in: Unified diff