diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-17 20:08:40 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-18 14:41:16 +0200 |
commit | e06fa200b394162f2a30a481a8b1423685182863 (patch) | |
tree | 787db396b2837193f0dc2032ce85397b42cfa678 /apps/files_trashbin/ajax/delete.php | |
parent | b486f48fbca0d8659d720bd37d6422d01bc09420 (diff) | |
download | nextcloud-server-e06fa200b394162f2a30a481a8b1423685182863.tar.gz nextcloud-server-e06fa200b394162f2a30a481a8b1423685182863.zip |
make sure that we always use the right user
Diffstat (limited to 'apps/files_trashbin/ajax/delete.php')
-rw-r--r-- | apps/files_trashbin/ajax/delete.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/ajax/delete.php b/apps/files_trashbin/ajax/delete.php index ebabc5bc7a2..9d9c1dd100f 100644 --- a/apps/files_trashbin/ajax/delete.php +++ b/apps/files_trashbin/ajax/delete.php @@ -37,7 +37,7 @@ foreach ($list as $file) { $timestamp = null; } - OCA\Files_Trashbin\Trashbin::delete($filename, $timestamp); + OCA\Files_Trashbin\Trashbin::delete($filename, \OCP\User::getUser(), $timestamp); if (OCA\Files_Trashbin\Trashbin::file_exists($filename, $timestamp)) { $error[] = $filename; OC_Log::write('trashbin','can\'t delete ' . $filename . ' permanently.', OC_Log::ERROR); |