Ignore:
Timestamp:
2007-01-12T14:05:00+13:00 (17 years ago)
Author:
mdewsnip
Message:

Added a static getLoadedCollectionName() function into CollectionManager, as part of making CollectionManager fully static.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/metadata/MetadataXMLFileManager.java

    r12735 r13586  
    3232import org.greenstone.gatherer.DebugStream;
    3333import org.greenstone.gatherer.Gatherer;
     34import org.greenstone.gatherer.collection.CollectionManager;
    3435import org.greenstone.gatherer.collection.CollectionTreeNode;
    3536import org.greenstone.gatherer.remote.RemoteGreenstoneServer;
     
    377378
    378379        // Upload the files modified since last time, then reset the list
    379         RemoteGreenstoneServer.uploadCollectionFiles(Gatherer.c_man.getCollection().getName(), (File[]) modified_metadata_xml_files.toArray(new File[0]));
     380        RemoteGreenstoneServer.uploadCollectionFiles(CollectionManager.getLoadedCollectionName(), (File[]) modified_metadata_xml_files.toArray(new File[0]));
    380381        modified_metadata_xml_files.clear();
    381382    }
Note: See TracChangeset for help on using the changeset viewer.