aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-04-29 17:55:27 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-04-29 17:55:27 +0200
commit1ee03bd683e23eb36b4f3a9b0cc773e384167a6e (patch)
tree5e8c8ec7e7b68393cffab0e80cc5b26cf90dbc04 /core/js/js.js
parent01410491b982a9ed5fffe1adf63ee8c00f565d5b (diff)
downloadnextcloud-server-1ee03bd683e23eb36b4f3a9b0cc773e384167a6e.tar.gz
nextcloud-server-1ee03bd683e23eb36b4f3a9b0cc773e384167a6e.zip
Move OC navigation methods 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.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
*/