Skip to content

Commit

Permalink
added success message to lftp
Browse files Browse the repository at this point in the history
  • Loading branch information
edsonsantoro committed Aug 23, 2024
1 parent a377a2b commit ee63fc5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion admin/class-wpmu-client-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,10 @@ public function wpmu_init_export( int $blog_id, string $timestamp) {
error_log( "Saída do comando: " . implode( "\n", $output ) );
Notice::addError( $notice );
return false;
}
} else {
$last_message = __("Exportação finalizada com sucesso.", $this->plugin_name);
file_put_contents($log_path, $last_message, FILE_APPEND | LOCK_EX );
}

return true;

Expand Down

0 comments on commit ee63fc5

Please sign in to comment.