Skip to content

Commit a018bbb

Browse files
authored
2.10.0 (#166)
* 2.10.0 * fix
1 parent 77c8a5f commit a018bbb

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## [UNRELEASED]
8+
## [2.10.0] - 2025-09-30
9+
10+
### Added
11+
12+
- GLPI 11 compatibility
913

1014
### Improvement
1115

inc/replace.class.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ public static function replace($type, $model_id, $tab_ids, $location)
100100
$count = 0;
101101
$tot = count($tab_ids);
102102

103-
/** @phpstan-ignore-next-line */
104103
Html::createProgressBar(__('Please wait, replacement is running...', 'uninstall'));
105104

106105
foreach ($tab_ids as $olditem_id => $newitem_id) {
@@ -594,11 +593,9 @@ public static function replace($type, $model_id, $tab_ids, $location)
594593
'action' => 'replace',
595594
'models_id' => $model_id,
596595
]);
597-
/** @phpstan-ignore-next-line */
598596
Html::changeProgressBarPosition($count, $tot + 1);
599597
}
600598

601-
/** @phpstan-ignore-next-line */
602599
Html::changeProgressBarPosition(
603600
$count,
604601
$tot,

inc/uninstall.class.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ public static function uninstall($type, $model_id, $tab_ids, $location)
375375
$count = 0;
376376
$tot = count($tab_ids[$type]);
377377

378-
/** @phpstan-ignore-next-line */
379378
Html::createProgressBar(__('Please wait, uninstallation is running...', 'uninstall'));
380379

381380
foreach ($tab_ids[$type] as $id => $value) {
@@ -389,7 +388,6 @@ public static function uninstall($type, $model_id, $tab_ids, $location)
389388
'location' => $location,
390389
]);
391390

392-
/** @phpstan-ignore-next-line */
393391
Html::changeProgressBarPosition($count, $tot + 1);
394392

395393
//Add line in machine's history to say that machine was uninstalled
@@ -401,7 +399,6 @@ public static function uninstall($type, $model_id, $tab_ids, $location)
401399
}
402400
}
403401

404-
/** @phpstan-ignore-next-line */
405402
Html::changeProgressBarPosition($count, $tot, __('Uninstallation successful', 'uninstall'));
406403

407404
echo "</td></tr>";

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
use Glpi\Plugin\Hooks;
3232

33-
define('PLUGIN_UNINSTALL_VERSION', '2.10.0-beta2');
33+
define('PLUGIN_UNINSTALL_VERSION', '2.10.0');
3434
define("PLUGIN_UNINSTALL_MIN_GLPI", "11.0.0");
3535
define("PLUGIN_UNINSTALL_MAX_GLPI", "11.0.99");
3636

uninstall.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
</authors>
2727
<versions>
2828
<version>
29-
<num>2.10.0-beta2</num>
29+
<num>2.10.0</num>
3030
<compatibility>~11.0.0</compatibility>
31-
<download_url>https://github.com/pluginsGLPI/uninstall/releases/download/2.10.0-beta2/glpi-uninstall-2.10.0-beta2.tar.bz2</download_url>
31+
<download_url>https://github.com/pluginsGLPI/uninstall/releases/download/2.10.0/glpi-uninstall-2.10.0.tar.bz2</download_url>
3232
</version>
3333
<version>
3434
<num>2.9.4</num>

0 commit comments

Comments
 (0)