diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-05-14 11:00:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-14 11:00:22 +0200 |
commit | c41aa7a20929118ce1092c603f709d06aef1da57 (patch) | |
tree | 317025ae0355a448173a55d0f7fe7f8aa87f9bbb /core/js/js.js | |
parent | c2177caf52bb3bdfb95c474bea9d9f66f51d8796 (diff) | |
parent | 2f5df9387d30e33b3903c9ec99ae5661ac1819d8 (diff) | |
download | nextcloud-server-c41aa7a20929118ce1092c603f709d06aef1da57.tar.gz nextcloud-server-c41aa7a20929118ce1092c603f709d06aef1da57.zip |
Merge pull request #15524 from nextcloud/refactor/oc-add-translations-bundle-deprecate
Deprecate OC.fileIsBlacklisted and move it to the bundle
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 |