Skip to content
Snippets Groups Projects
Commit f8f54394 authored by Vincent Petry's avatar Vincent Petry
Browse files

Recreate trashbin folder after full deletion

parent cc2092a5
No related branches found
No related tags found
No related merge requests found
......@@ -508,6 +508,8 @@ class Trashbin {
$view->deleteAll('files_trashbin');
$query = \OC_DB::prepare('DELETE FROM `*PREFIX*files_trash` WHERE `user`=?');
$query->execute(array($user));
$view->mkdir('files_trashbin');
$view->mkdir('files_trashbin/files');
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment