greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17143

Show
Ignore:
Timestamp:
2008-09-04 14:28:31 (3 months ago)
Author:
kjdon
Message:

modified check_removeold_and_keepold so that you don't need to pass in collectcfg

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gsdl/trunk/perllib/scriptutil.pm

    r15740 r17143  
    4444    }  
    4545 
    46     if (!$keepold && !$removeold && !$incremental) { 
     46    if (!$keepold && !$removeold && !$incremental && defined $collectcfg) { 
    4747        # we only look at config file options if we dont have these on the command line 
    4848        if (defined $collectcfg->{'removeold'} && $collectcfg->{'removeold'} =~ /^true$/i ) {