Browse Source

Log deleted files

remotes/origin/db-empty-migrate
Victor Dubiniuk 10 years ago
parent
commit
b75a1b40a2
  1. 4
      apps/files_trashbin/lib/trashbin.php

4
apps/files_trashbin/lib/trashbin.php

@ -700,6 +700,10 @@ class Trashbin {
if ($expiration->isExpired($timestamp)) {
$count++;
$size += self::delete($filename, $user, $timestamp);
\OC::$server->getLogger()->info(
'Remove "' . $filename . '" from trashbin because it exceeds max retention obligation term.',
['app' => 'files_trashbin']
);
} else {
break;
}

Loading…
Cancel
Save