diff --git a/CHANGELOG.md b/CHANGELOG.md index 733ea0b..41cc544 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Prevent SQL error when column `name` not exist from `Item_Device` - Prevent the tag field from appearing in the satisfaction survey. - Fix display translations +- Removed tag rights during plugin uninstall ## [2.14.3] - 2025-12-22 diff --git a/inc/tag.class.php b/inc/tag.class.php index 87f429e..664b86d 100644 --- a/inc/tag.class.php +++ b/inc/tag.class.php @@ -238,6 +238,9 @@ public static function uninstall() ], ]); + $profileRight = new ProfileRight(); + $profileRight->deleteByCriteria(['name' => self::$rightname]); + $migration = new Migration(PLUGIN_TAG_VERSION); $migration->dropTable(getTableForItemType(self::class));