aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-04-30 10:52:14 +0200
committerGitHub <noreply@github.com>2019-04-30 10:52:14 +0200
commit2e0199a04a077db17a74a6018b8f3957f0b37eb9 (patch)
treedcc8a8bbdf8f9ff02020f048d4d4dc0da515f7d7 /core/js/js.js
parente727e01701b685595a8026d3bab86e0f50f457f0 (diff)
parent1ee03bd683e23eb36b4f3a9b0cc773e384167a6e (diff)
downloadnextcloud-server-2e0199a04a077db17a74a6018b8f3957f0b37eb9.tar.gz
nextcloud-server-2e0199a04a077db17a74a6018b8f3957f0b37eb9.zip
Merge pull request #15292 from nextcloud/refactor/oc-navigation-methods-bundle
Move OC navigation methods to the bundle
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js15
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
*/