chore: remove OC.fileIsBlacklisted

Its deprecated since Nextcloud 18 and nowadays we have much more complex
logic for this.
So the proper replacement is to use `validateFilename` from
`@nextcloud/files` package.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-10-29 23:07:04 +01:00
parent f67d90ab27
commit fd0a7351c3
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -103,14 +103,6 @@ export default {
/*
* Deprecated helpers to be removed
*/
/**
* Check if a user file is allowed to be handled.
*
* @param {string} file to check
* @return {boolean}
* @deprecated 17.0.0
*/
fileIsBlacklisted: (file) => !!(file.match(Config.blacklist_files_regex)),
Apps,
AppConfig,
appConfig,