Log deleted files

This commit is contained in:
Victor Dubiniuk 2015-09-16 22:06:57 +03:00
parent 47caac10f5
commit b75a1b40a2

View File

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