mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
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:
parent
f67d90ab27
commit
fd0a7351c3
1 changed files with 0 additions and 8 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue