mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-28 03:49:20 +03:00
Removed end up- and download notification, done in propagate.
This commit is contained in:
parent
344ea661c9
commit
0524613a57
1 changed files with 2 additions and 2 deletions
|
@ -1310,7 +1310,7 @@ static int owncloud_sendfile(csync_vio_method_handle_t *src, csync_vio_method_ha
|
|||
|
||||
ne_set_notifier(dav_session.ctx, 0, 0);
|
||||
if( rc == 0 ) {
|
||||
oc_notify_progress(write_ctx->url, CSYNC_NOTIFY_FINISHED_UPLOAD, file_size, file_size);
|
||||
DEBUG_WEBDAV(" * Upload finished %s", write_ctx->url);
|
||||
} else {
|
||||
oc_notify_progress(write_ctx->url, CSYNC_NOTIFY_ERROR, error_code, (intptr_t)(dav_session.error_string));
|
||||
}
|
||||
|
@ -1400,7 +1400,7 @@ static int owncloud_sendfile(csync_vio_method_handle_t *src, csync_vio_method_ha
|
|||
|
||||
ne_set_notifier(dav_session.ctx, 0, 0);
|
||||
if( rc == 0 ) {
|
||||
oc_notify_progress( write_ctx->url, CSYNC_NOTIFY_FINISHED_DOWNLOAD, write_ctx->get_size , write_ctx->get_size );
|
||||
DEBUG_WEBDAV(" ** Finished download %s", write_ctx->url);
|
||||
} else {
|
||||
oc_notify_progress( write_ctx->url, CSYNC_NOTIFY_ERROR, error_code , (intptr_t)(dav_session.error_string));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue