We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f1e3a8 commit 7de0141Copy full SHA for 7de0141
CHANGELOG.md
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
8
## [Unreleased] - XXXX-XX-XX
9
10
- Fix Twig error on migration_status page
11
+- Check method existence before calling uninstall on custom assets
12
13
## [3.0.0 End-of-Life Updater] - 2025-30-09
14
hook.php
@@ -91,7 +91,7 @@ function plugin_genericobject_uninstall()
91
//For each type
92
foreach (PluginGenericobjectType::getTypes(true) as $tmp => $value) {
93
$itemtype = $value['itemtype'];
94
- if (class_exists($itemtype)) {
+ if (class_exists($itemtype) && method_exists($itemtype, 'uninstall')) {
95
$itemtype::uninstall();
96
}
97
0 commit comments