From 80b54fd1b06e084b24dc3e154ac9867c21a2ef6c Mon Sep 17 00:00:00 2001
From: Stanislas Kita <7335054+stonebuzz@users.noreply.github.com>
Date: Fri, 11 Sep 2026 14:42:00 +0200
Subject: [PATCH 1/2] 2.12.6
---
CHANGELOG.md | 2 +-
plugin.xml | 5 +++++
setup.php | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1fade674..6c4b0056 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).
-## [UNRELEASED]
+## [2.12.6] - 2026-09-11
### Fixed
diff --git a/plugin.xml b/plugin.xml
index 41f9d54f..03eec9da 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -33,6 +33,11 @@
TECLIB'
+
+ 2.12.6
+ ~10.0.11
+ https://github.com/pluginsGLPI/tag/releases/download/2.12.6/glpi-tag-2.12.6.tar.bz2
+
2.12.5
~10.0.11
diff --git a/setup.php b/setup.php
index 0c2c4d68..4496fc5c 100644
--- a/setup.php
+++ b/setup.php
@@ -30,7 +30,7 @@
use Glpi\Plugin\Hooks;
-define('PLUGIN_TAG_VERSION', '2.12.5');
+define('PLUGIN_TAG_VERSION', '2.12.6');
// Minimal GLPI version, inclusive
define("PLUGIN_TAG_MIN_GLPI", "10.0.11");
From 5befe7c72e97b140cba3db108fc52c0c132ab14c Mon Sep 17 00:00:00 2001
From: Stanislas Kita <7335054+stonebuzz@users.noreply.github.com>
Date: Fri, 11 Sep 2026 14:48:21 +0200
Subject: [PATCH 2/2] fix uninstall
---
inc/tag.class.php | 3 +++
1 file changed, 3 insertions(+)
diff --git a/inc/tag.class.php b/inc/tag.class.php
index e7388982..7b00c413 100644
--- a/inc/tag.class.php
+++ b/inc/tag.class.php
@@ -229,6 +229,9 @@ public static function uninstall()
],
]);
+ $profileRight = new ProfileRight();
+ $profileRight->deleteByCriteria(['name' => self::$rightname]);
+
$migration = new Migration(PLUGIN_TAG_VERSION);
$migration->dropTable(getTableForItemType(__CLASS__));