Project

General

Profile

« Previous | Next » 

Revision 4789

Added by daigle almost 16 years ago

Add a short sleep when moderator accepts document so system can update. This will make sure correct documents get returned to moderators list.

View differences:

register-dataset.cgi
3138 3138
        }
3139 3139
    }
3140 3140

  
3141
    # give the system a chance to finish databasing and indexing
3142
    sleep(5);
3143

  
3141 3144
    # send notification to the user and the moderator
3142 3145
    if ($errorMessage eq '') {
3143 3146
        modSendNotification($title, $contactEmailAddress, $contactName, "Document $docid Accepted");

Also available in: Unified diff