Skip to content

Commit

Permalink
Merge pull request #43 from humhub/fix/42-redirect-to-marketplace
Browse files Browse the repository at this point in the history
Fix/42 redirect to marketplace
  • Loading branch information
luke- authored Dec 14, 2023
2 parents 9d5168a + 9a42090 commit 3791934
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions controllers/UpdateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public function init()

public function actionIndex()
{
if (version_compare(Yii::$app->version, '1.15', '>=')) {
return $this->redirect(['/marketplace/browse']);
}

$availableUpdate = OnlineUpdateAPI::getAvailableUpdate();
if ($availableUpdate === null) {
return $this->render('index_noupdate');
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

2.1.13 (December 14, 2023)
---------------------------
- Fix #42: Redirect to marketplace

2.1.12 (April 26, 2022)
------------------------
- Enh #21: Check for old 'enterprise' module
Expand Down
2 changes: 1 addition & 1 deletion module.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"humhub": {
"minVersion": "1.0"
},
"version": "2.1.12"
"version": "2.1.13"
}

0 comments on commit 3791934

Please sign in to comment.