From 1ee03bd683e23eb36b4f3a9b0cc773e384167a6e Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 29 Apr 2019 17:55:27 +0200 Subject: Move OC navigation methods to the bundle Signed-off-by: Christoph Wurst --- core/js/js.js | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'core/js/js.js') 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 @@ -206,21 +206,6 @@ Object.assign(window.OC, { return !!(file.match(oc_config.blacklist_files_regex)); }, - /** - * 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 -- cgit v1.2.3