add delete hook for trash bin app

remotes/origin/stable6
Georg Ehrke 12 years ago
parent a745901d50
commit feee4b865b
  1. 1
      apps/files_trashbin/lib/trashbin.php

@ -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);

Loading…
Cancel
Save