summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-14 10:06:17 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-05-14 10:07:56 +0200
commit2f5df9387d30e33b3903c9ec99ae5661ac1819d8 (patch)
tree317025ae0355a448173a55d0f7fe7f8aa87f9bbb /core/js/js.js
parentc2177caf52bb3bdfb95c474bea9d9f66f51d8796 (diff)
downloadnextcloud-server-2f5df9387d30e33b3903c9ec99ae5661ac1819d8.tar.gz
nextcloud-server-2f5df9387d30e33b3903c9ec99ae5661ac1819d8.zip
Deprecate OC.fileIsBlacklisted and move it to the bundle
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/js/js.js b/core/js/js.js
index d665d036220..7896fdf4377 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -10,14 +10,6 @@ Object.assign(window.OC, {
theme: window.oc_defaults || {},
/**
- * Check if a user file is allowed to be handled.
- * @param {string} file to check
- */
- fileIsBlacklisted: function(file) {
- return !!(file.match(OC.config.blacklist_files_regex));
- },
-
- /**
* Parses a URL query string into a JS map
* @param {string} queryString query string in the format param1=1234&param2=abcde&param3=xyz
* @return {Object.<string, string>} map containing key/values matching the URL parameters