Changeset 34152
- Timestamp:
- 2020-06-12T20:40:59+12:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/servercontrol.pm
r32830 r34152 283 283 elsif ($gs_mode eq "gs3") { 284 284 $self->print_msg("\t- Main library servlet\n"); 285 my $DEACTIVATE_COMMAND = "? a=s&sa=d&st=collection&sn=";285 my $DEACTIVATE_COMMAND = "?excerptid=gs_content&a=s&sa=d&st=collection&sn="; 286 286 my $check_message_against_regex = "collection: $qualified_collection deactivated"; 287 287 $self->config($DEACTIVATE_COMMAND.$qualified_collection, $check_message_against_regex); … … 309 309 elsif ($gs_mode eq "gs3") { 310 310 $self->print_msg("\t- Main library servlet\n"); 311 my $ACTIVATE_COMMAND = "? a=s&sa=a&st=collection&sn=";311 my $ACTIVATE_COMMAND = "?excerptid=gs_content&a=s&sa=a&st=collection&sn="; 312 312 my $check_message_against_regex = "collection: $qualified_collection activated"; 313 313 $self->config($ACTIVATE_COMMAND.$qualified_collection, $check_message_against_regex); … … 350 350 } 351 351 elsif ($gs_mode eq "gs3") { 352 $command = "?a=s&sa=ping ";352 $command = "?a=s&sa=ping&excerptid=gs_content"; 353 353 } 354 354 return $self->ping($command); … … 369 369 } 370 370 elsif ($gs_mode eq "gs3") { 371 $command = "?a=s&sa=ping&st=collection&sn=$qualified_collection ";371 $command = "?a=s&sa=ping&st=collection&sn=$qualified_collection&excerptid=gs_content"; 372 372 } 373 373 return $self->ping($command, $silent);
Note:
See TracChangeset
for help on using the changeset viewer.