Revision 10008
Added by Jing Tao about 8 years ago
src/edu/ucsb/nceas/metacat/DocumentImpl.java | ||
---|---|---|
3565 | 3565 |
guid.setValue(pid); |
3566 | 3566 |
|
3567 | 3567 |
//removal the access rules for removeAll. |
3568 |
if(removeAll) { |
|
3568 |
/*if(removeAll) {
|
|
3569 | 3569 |
|
3570 | 3570 |
logMetacat.info("DocumentImpl.delete - deleting from xml_access"); |
3571 | 3571 |
pstmt = conn.prepareStatement("DELETE FROM xml_access WHERE guid = ?"); |
... | ... | |
3576 | 3576 |
//Usaga count increase 1 |
3577 | 3577 |
conn.increaseUsageCount(1); |
3578 | 3578 |
|
3579 |
} |
|
3579 |
}*/
|
|
3580 | 3580 |
|
3581 | 3581 |
|
3582 | 3582 |
// clear cache after inserting or updating a document |
Also available in: Unified diff
Removing xml_access table records now is in the removing the pid from hazelcast. So remove the dupicated code.