Skip to content

Commit

Permalink
Merge branch 'hotfix/4.1.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Aug 19, 2024
2 parents ab4469a + 31007e3 commit 9eb469f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 4.1.3 - 2024-08-19 [CRITICAL]
### Fixed
- Fixed an bug where exports would be deteled when the system ran Garbage Collection. You'll have to update to this version and recreate your exports.

## 4.1.2 - 2024-06-10
### Fixed
- Don't show "unsupported field" warning for Formie's "Heading" field
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Export all things",
"type": "craft-plugin",
"license": "proprietary",
"version": "4.1.2",
"version": "4.1.3",
"authors": [
{
"name": "Studio Espresso",
Expand Down
7 changes: 0 additions & 7 deletions src/Exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,6 @@ function(Event $event) {
ExportRecord::tableName(),
'id',
);

// Delete `elements` table rows without corresponding `content` table rows for the custom element
Craft::$app->getGc()->deletePartialElements(
ExportElement::class,
Table::CONTENT,
'elementId',
);
}
);

Expand Down

0 comments on commit 9eb469f

Please sign in to comment.