diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-14 10:06:17 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-05-14 10:07:56 +0200 |
commit | 2f5df9387d30e33b3903c9ec99ae5661ac1819d8 (patch) | |
tree | 317025ae0355a448173a55d0f7fe7f8aa87f9bbb /core/js/js.js | |
parent | c2177caf52bb3bdfb95c474bea9d9f66f51d8796 (diff) | |
download | nextcloud-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.js | 8 |
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¶m2=abcde¶m3=xyz * @return {Object.<string, string>} map containing key/values matching the URL parameters |