Log deleted files
This commit is contained in:
parent
47caac10f5
commit
b75a1b40a2
|
@ -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…
Reference in New Issue