You are here

function gathercontent_drush_upload_finished in GatherContent 8.5

Batch process "finished" callback.

1 string reference to 'gathercontent_drush_upload_finished'
drush_gathercontent_upload in gathercontent_upload/gathercontent_upload.drush.inc
Implements drush_COMMAND().

File

gathercontent_upload/gathercontent_upload.drush.inc, line 104
GatherContent Upload drush command.

Code

function gathercontent_drush_upload_finished($success, $results, $operations) {
  if ($success) {
    drush_log(t('Upload finished'), LogLevel::OK);
  }
  else {
    drush_set_error('gathercontent_upload_failed', t('Upload failed'));
  }
}