handle not found in trash hook

This commit is contained in:
Robin Appelman 2015-12-14 13:35:37 +01:00 committed by Thomas Müller
parent 3e8a5f8a53
commit 8890c88c11
1 changed files with 5 additions and 1 deletions

View File

@ -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
}
}
/**