mirror of
https://github.com/nextcloud/server.git
synced 2024-08-13 14:11:10 +02:00
handle not found in trash hook
This commit is contained in:
parent
3e8a5f8a53
commit
8890c88c11
@ -62,7 +62,11 @@ class Trashbin {
|
||||
* @param array $params
|
||||
*/
|
||||
public static function ensureFileScannedHook($params) {
|
||||
self::getUidAndFilename($params['path']);
|
||||
try {
|
||||
self::getUidAndFilename($params['path']);
|
||||
} catch (NotFoundException $e) {
|
||||
// nothing to scan for non existing files
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user