Ignore:
Timestamp:
2009-07-29T13:22:28+12:00 (15 years ago)
Author:
kjdon
Message:

use colcfg read_collection/building_cfg methods instead of switching on gs_mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/bin/script/explode_metadata_database.pl

    r19754 r20098  
    213213    # Read in the collection configuration file.
    214214    my ($configfilename, $gs_mode) = &colcfg::get_collect_cfg_name(STDERR);
    215     my $collectcfg;
    216     if ($gs_mode eq "gs2") {
    217         $collectcfg = &colcfg::read_collect_cfg ($configfilename);
    218     } elsif ($gs_mode eq "gs3") {
    219         $collectcfg = &colcfg::read_collection_cfg_xml ($configfilename);
    220     }
     215    my $collectcfg = &colcfg::read_collect_cfg ($configfilename, $gs_mode);
    221216    $plugin_options_string = &get_plugin_options($collectcfg, $plugin);
    222217    }
Note: See TracChangeset for help on using the changeset viewer.