Skip to content

Commit

Permalink
Merge pull request #5 from pbs/develop
Browse files Browse the repository at this point in the history
4.0.3.2
  • Loading branch information
andrewmenich authored Mar 21, 2024
2 parents 07e9812 + d7265b3 commit 3c6982d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 4.0.3.2 - 2024-03-21

### Fixed
- Entries not getting correct status when no availabilities are present

## 4.0.3.1 - 2024-03-20

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "moon/pbs-media-manager-craft-plugin-food",
"description": "Media Manager 4 for PBS API",
"version": "4.0.3.1",
"version": "4.0.3.2",
"type": "craft-plugin",
"keywords": ["craftcms", "pbs", "media-manager"],
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/jobs/MediaSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function execute( $queue ): void
){
if($existingEntry){
$existingEntry->setFieldValue('markedForDeletion', true);

$existingEntry->enabled = 0;
Craft::$app->getElements()->saveElement( $existingEntry );
$this->setProgress( $queue, $count++ / $totalAssets );
}
Expand Down

0 comments on commit 3c6982d

Please sign in to comment.