diff options
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/core/js/js.js b/core/js/js.js index 5e8532883b4..445b628855a 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -207,21 +207,6 @@ Object.assign(window.OC, { }, /** - * Redirect to the target URL, can also be used for downloads. - * @param {string} targetURL URL to redirect to - */ - redirect: function(targetURL) { - window.location = targetURL; - }, - - /** - * Reloads the current page - */ - reload: function() { - window.location.reload(); - }, - - /** * Protocol that is used to access this Nextcloud instance * @return {string} Used protocol */ |