mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Improve logging of trash bin inconsistencies
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
944e560155
commit
b4fa812a3d
1 changed files with 1 additions and 1 deletions
|
|
@ -386,7 +386,7 @@ class Trashbin {
|
|||
if ($timestamp) {
|
||||
$location = self::getLocation($user, $filename, $timestamp);
|
||||
if ($location === false) {
|
||||
\OCP\Util::writeLog('files_trashbin', 'trash bin database inconsistent!', \OCP\Util::ERROR);
|
||||
\OCP\Util::writeLog('files_trashbin', 'trash bin database inconsistent! ($user: ' . $user . ' $filename: ' . $filename . ', $timestamp: ' . $timestamp . ')', \OCP\Util::ERROR);
|
||||
} else {
|
||||
// if location no longer exists, restore file in the root directory
|
||||
if ($location !== '/' &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue