Skip to content

Commit

Permalink
1.1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hibberd authored and Sam Hibberd committed Apr 3, 2019
1 parent 26436a4 commit 354ec95
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Linkit Changelog
> One link field to rule them all, built for [Craft 3](http://craftcms.com)
## 1.1.11 - 2019-04-03

### Fixed

* Fixed migration issue with Schema Checks & Mute events. Credit to @andris-sevcenko again.

## 1.1.10 - 2019-03-19

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "fruitstudios/linkit",
"description": "One link field to rule them all.",
"type": "craft-plugin",
"version": "1.1.10",
"version": "1.1.11",
"keywords": [
"craft",
"cms",
Expand Down
3 changes: 2 additions & 1 deletion src/migrations/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ protected function upgradeFromCraft2()
{
// Get Project Config
$projectConfig = Craft::$app->getProjectConfig();
$projectConfig->muteEvents = true;

// Don't make the same config changes twice
$schemaVersion = $projectConfig->get('plugins.linkit.schemaVersion', true);
Expand All @@ -42,6 +41,8 @@ protected function upgradeFromCraft2()
return;
}

$projectConfig->muteEvents = true;

// Locate and remove old linkit
$plugins = $projectConfig->get(Plugins::CONFIG_PLUGINS_KEY) ?? [];
foreach ($plugins as $pluginHandle => $pluginData)
Expand Down

0 comments on commit 354ec95

Please sign in to comment.