Skip to content

Commit

Permalink
fix: fix uninstall error
Browse files Browse the repository at this point in the history
  • Loading branch information
7underlines committed Oct 1, 2024
1 parent fc250b3 commit a9d0b40
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# 4.0.2
- Fehler beim deinstallieren des Plugins behoben.

# 4.0.1
- Kategorien-CMS-Element hinzugefügt
- Kategorien-CMS-Element hinzugefügt.
- Rss Feed Fehler behoben. [#7](https://github.com/Werkstattl/OpenBlogware/issues/7)

# 4.0.0
- Breaking: Plugin interne Namensänderung von Sas\\BlogModule\\SasBlogModule zu Werkl\\OpenBlogware\\WerklOpenBlogware
- Alle Inhalte müssen vollständig neu erstellt werden. Beziehen Sie sich auf [#8](https://github.com/Werkstattl/OpenBlogware/issues/8) für die SQL-Befehle, die für eine einmalige Migration erforderlich sind.

# 3.0.4
- Überspringe-Artikel-Funktionalität für das neueste Blog-Artikel-Element
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG_en-GB.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# 4.0.2
- Fixed uninstall error

# 4.0.1
- Added category listing cms element
- Fixed rss feed error [#7](https://github.com/Werkstattl/OpenBlogware/issues/7)

# 4.0.0
- Breaking: Renamed plugin internals from Sas\\BlogModule\\SasBlogModule to Werkl\\OpenBlogware\\WerklOpenBlogware
- All content must be fully recreated. Refer to [#8](https://github.com/Werkstattl/OpenBlogware/issues/8) for the SQL commands required for a one-time migration.

# 3.0.4
- Added offset count functionality to the newest blog items element
Expand Down
2 changes: 1 addition & 1 deletion src/WerklOpenBlogware.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function uninstall(UninstallContext $context): void
$context = Context::createDefaultContext();

$criteria = new Criteria();
$criteria . addFilter(new EqualsAnyFilter('type', ['blog-detail', 'blog-listing']));
$criteria->addFilter(new EqualsAnyFilter('type', ['blog-detail', 'blog-listing']));

$cmsBlocks = $cmsBlockRepo->searchIds($criteria, $context);

Expand Down

0 comments on commit a9d0b40

Please sign in to comment.