From ef63a45424806dc0d3667da73a9a46a879140b24 Mon Sep 17 00:00:00 2001 From: Yuriy Bakhtin Date: Thu, 14 Dec 2023 16:30:11 +0100 Subject: [PATCH] Redirect to marketplace --- controllers/UpdateController.php | 2 ++ docs/CHANGELOG.md | 4 ++++ module.json | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/controllers/UpdateController.php b/controllers/UpdateController.php index b92b363..d744572 100644 --- a/controllers/UpdateController.php +++ b/controllers/UpdateController.php @@ -30,6 +30,8 @@ public function init() public function actionIndex() { + return $this->redirect(['/marketplace/browse']); + $availableUpdate = OnlineUpdateAPI::getAvailableUpdate(); if ($availableUpdate === null) { return $this->render('index_noupdate'); diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 556557c..9ba3e78 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ Changelog ========= +2.1.13 (Unreleased) +------------------------ +- Fix #42: Redirect to marketplace + 2.1.12 (April 26, 2022) ------------------------ - Enh #21: Check for old 'enterprise' module diff --git a/module.json b/module.json index ba60f00..f353e16 100644 --- a/module.json +++ b/module.json @@ -7,7 +7,7 @@ ], "homepage": "https://github.com/humhub/updater", "humhub": { - "minVersion": "1.0" + "minVersion": "1.4" }, - "version": "2.1.12" + "version": "2.1.13" }