Skip to content
Snippets Groups Projects
Commit feee4b86 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

add delete hook for trash bin app

parent a745901d
No related branches found
No related tags found
No related merge requests found
......@@ -530,6 +530,7 @@ class Trashbin {
$size += $view->filesize('/files_trashbin/files/' . $file);
}
$view->unlink('/files_trashbin/files/' . $file);
\OC_Hook::emit('\OCP\Trashbin', 'delete', array('path' => $path));
$trashbinSize -= $size;
self::setTrashbinSize($user, $trashbinSize);
......
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