- Timestamp:
- 2007-01-12T13:21:37+13:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r13529 r13584 533 533 public boolean deleteCollection(String collection_name) 534 534 { 535 // First we must release the collection from the local library, if it's running 536 if (LocalLibraryServer.isRunning() == true) { 537 LocalLibraryServer.releaseCollection(collection_name); 538 } 539 540 // Delete the collection on the server if we're using a remote Greenstone 541 if (Gatherer.isGsdlRemote) { 542 RemoteGreenstoneServer.deleteCollection(collection_name); 543 } 544 545 // Now delete the collection directory 535 546 return Utility.delete(new File(getCollectionDirectoryPath(collection_name))); 536 547 }
Note:
See TracChangeset
for help on using the changeset viewer.