Ignore:
Timestamp:
2019-06-21T16:47:21+12:00 (5 years ago)
Author:
ak19
Message:
  1. Added the untested erase_archives/index/live/import_metadata() subroutines to modmetadataaction, which will remove all metadata with matching metadata name from the specified docid. They generate no perl interpreter errors when running metadata-server.pl in authenticated mode, but otherwise they're untested. 2. Fixed an issue in baseaction.pm with running metadata-server.pl. 3. Commented out debug messages from metadataaction.pm. Second commit phase will need to introduce matching javascript methods to erase metadata.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/cgiactions/baseaction.pm

    r27775 r33183  
    8383        my @opt_args = ();
    8484        push(@opt_args,"un") if (!$authentication_enabled);
    85         push(@opt_args,@{$action_table->{$a}->{'optional-args'}});
     85        push(@opt_args,@{$action_table->{$a}->{'optional-args'}}) if $action_table->{$a}->{'optional-args'};
    8686
    8787        if (scalar(@opt_args)>0) {
Note: See TracChangeset for help on using the changeset viewer.