Changeset 22780

Show
Ignore:
Timestamp:
25.08.2010 15:44:39 (9 years ago)
Author:
ak19
Message:

closeCollection is not supposed to do a releaseCollection, else one can't view a collection after it has been closed in GLI.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r22772 r22780  
    423423    DocXMLFileManager.clearDocXMLFiles(); 
    424424    ProfileXMLFileManager.clearProfileXMLFile(); 
    425  
    426     // If we're using the Local Library we must release the collection before writing to the collect.cfg file 
    427     if(Gatherer.isLocalLibrary) {        
    428         LocalLibraryServer.releaseCollection(getLoadedCollectionName(true)); // URL style slash //collection.getName()); 
    429     } 
    430425     
    431426    collection.destroy();