Ignore:
Timestamp:
03/13/17 12:05:44 (4 years ago)
Author:
kjdon
Message:

removed smart_block option. Its been deprecated for long enough

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/BaseImporter.pm

    r31492 r31493  
    120120    'type' => "flag",
    121121    'reqd' => "no" },
    122 #      { 'name' => "filename_encoding",
    123 #   'desc' => "{BaseImporter.filename_encoding}",
    124 #   'type' => "enum",
    125 #   'deft' => "auto",
    126 #   'list' => $encoding_plus_auto_list,
    127 #   'reqd' => "no" },
    128       { 'name' => "smart_block",
    129         'desc' => "{common.deprecated}. {BaseImporter.smart_block}",
    130         'type' => "flag",
    131         'reqd' => "no",
    132     'hiddengli' => "yes" }, # deprecated, but leave in for old collections
    133       { 'name' => "file_rename_method",
     122     { 'name' => "file_rename_method",
    134123    'desc' => "{BaseImporter.file_rename_method}",
    135124    'type' => "enum",
     
    163152        return bless $self, $class;
    164153    }
    165     if ($self->{'smart_block'}) {
    166     print STDERR "WARNING: -smart_block option has been deprecated and is no longer useful\n";
    167     }
    168     $self->{'smart_block'} = undef;
    169154
    170155    my $plugin_name = (defined $pluginlist->[0]) ? $pluginlist->[0] : $class;
Note: See TracChangeset for help on using the changeset viewer.