]> source.dussan.org Git - nextcloud-server.git/commit
Fixed SMB file deletion success detection
authorVincent Petry <pvince81@owncloud.com>
Thu, 14 Nov 2013 17:39:39 +0000 (18:39 +0100)
committerVincent Petry <pvince81@owncloud.com>
Tue, 19 Nov 2013 14:05:11 +0000 (15:05 +0100)
commit5b6d1d79d06e404ce4a52f75393a98f52769da48
treed9e08530b8d4885a5ee9ac9af3891ba75e563da6
parent8ab40f195984e76ec1fe8e89c8f0081f6bb7a418
Fixed SMB file deletion success detection

Since unlink() smb4php doesn't return true on deletion success, we need
to check whether the file was deleted to confirm success.

Fixes #5866
apps/files_external/lib/smb.php
tests/lib/files/storage/storage.php