Changeset 12968


Ignore:
Timestamp:
2006-10-03T11:57:07+13:00 (18 years ago)
Author:
kjdon
Message:

now uses incremental option not keepold option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugin.pm

    r12963 r12968  
    7272sub load_plugins {
    7373    my ($plugin_list) = shift @_;
    74     my $keepold;
    75     ($verbosity, $outhandle, $failhandle, $globaloptions, $keepold) = @_; # globals
     74    my $incremental;
     75    ($verbosity, $outhandle, $failhandle, $globaloptions, $incremental) = @_; # globals
    7676    my @plugin_objects = ();
    77     $keepold = 0 unless (defined $keepold && $keepold == 1);
     77    $incremental = 0 unless (defined $incremental && $incremental == 1);
    7878    $verbosity = 2 unless defined $verbosity;
    7979    $outhandle = 'STDERR' unless defined $outhandle;
     
    118118    $plugobj->init($verbosity, $outhandle, $failhandle);
    119119   
    120     $plugobj->set_keepold($keepold);
     120    $plugobj->set_incremental($incremental);
    121121
    122122    # add this object to the list
Note: See TracChangeset for help on using the changeset viewer.