diff options
Diffstat (limited to 'core/src/OC/navigation.js')
-rw-r--r-- | core/src/OC/navigation.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/core/src/OC/navigation.js b/core/src/OC/navigation.js index f9e6789950a..a4ccb9ced51 100644 --- a/core/src/OC/navigation.js +++ b/core/src/OC/navigation.js @@ -1,7 +1,8 @@ /** * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at> * - * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at> + * @author Christoph Wurst <christoph@winzerhof-wurst.at> + * @author John Molakvoæ <skjnldsv@protonmail.com> * * @license GNU AGPL version 3 or any later version * @@ -16,14 +17,10 @@ * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * */ -/** - * Redirect to the target URL, can also be used for downloads. - * @param {string} targetURL URL to redirect to - * @deprecated 17.0.0 use window.location directly - */ export const redirect = targetURL => { window.location = targetURL } /** |