Skip to content

Commit fa7d68d

Browse files
committed
Fix(Core): fix uninstall method
1 parent 5fc0e07 commit fa7d68d

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111

1212
- Fix `Validation` tab from `Order`
1313
- Fix invalid relations declared
14-
14+
- Fix uninstall method
1515

1616
## [2.12.4] - 2025-12-02
1717

inc/notificationtargetorder.class.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -469,11 +469,6 @@ public static function uninstall()
469469
$template->deleteByCriteria([
470470
'itemtype' => 'PluginOrderOrder',
471471
]);
472-
473-
$translation = new NotificationTemplateTranslation();
474-
$translation->deleteByCriteria([
475-
'itemtype' => 'PluginOrderOrder',
476-
]);
477472
}
478473

479474

inc/order_item.class.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,11 +2301,6 @@ public static function uninstallOrderItemNotification()
23012301
$template->deleteByCriteria([
23022302
'itemtype' => 'PluginOrderOrder_Item',
23032303
]);
2304-
2305-
$translation = new NotificationTemplateTranslation();
2306-
$translation->deleteByCriteria([
2307-
'itemtype' => 'PluginOrderOrder_Item',
2308-
]);
23092304
}
23102305

23112306
/**

0 commit comments

Comments
 (0)