Changeset 11943


Ignore:
Timestamp:
2006-06-20T11:02:06+12:00 (18 years ago)
Author:
mdewsnip
Message:

It is no longer an error to try to delete a file that doesn't exist. This happens, for example, when trying to delete the index directory after building a new collection for the first time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/cgi-bin/gliserver.pl

    r11942 r11943  
    296296    # Check that the collection file exists
    297297    if (!-e $file) {
    298     $gsdl_cgi->generate_error("Collection file $file does not exist.");
     298    $gsdl_cgi->generate_ok_message("Collection file $file does not exist.");
    299299    }
    300300    $gsdl_cgi->local_rm_r("$file");
Note: See TracChangeset for help on using the changeset viewer.