Skip to content

Commit 130a4de

Browse files
authored
fix(migration): remove Task completed message during plugin update (#506)
* fix(migration): remove Task completed message during plugin update * CHANGELOG.md
1 parent ad53fdc commit 130a4de

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,19 @@ 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]
9+
10+
### Fixed
11+
12+
- Fix the `Task completed` message during plugin update
13+
814
## [2.14.3] - 2025-09-16
915

1016
### Fixed
1117

1218
- Fix `License` injection
1319

20+
1421
## [2.14.2] - 2025-08-22
1522

1623
### Fixed

hook.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,6 @@ function plugin_datainjection_uninstall()
220220

221221
function plugin_datainjection_migration_2141_2150(Migration $migration)
222222
{
223-
$migration->setVersion('2.15.0');
224-
225223
$migration->addField(
226224
'glpi_plugin_datainjection_models',
227225
'replace_multiline_value',
@@ -233,9 +231,6 @@ function plugin_datainjection_migration_2141_2150(Migration $migration)
233231

234232
function plugin_datainjection_migration_2121_2122(Migration $migration)
235233
{
236-
237-
$migration->setVersion('2.12.2');
238-
239234
//remove useless field
240235
$migration->dropField("glpi_plugin_datainjection_models", "perform_network_connection");
241236

@@ -249,8 +244,6 @@ function plugin_datainjection_migration_290_2100(Migration $migration)
249244
/** @var DBmysql $DB */
250245
global $DB;
251246

252-
$migration->setVersion('2.10.0');
253-
254247
$migration->addPostQuery(
255248
$DB->buildUpdate(
256249
'glpi_plugin_datainjection_mappings',
@@ -274,8 +267,6 @@ function plugin_datainjection_migration_264_270(Migration $migration)
274267
/** @var DBmysql $DB */
275268
global $DB;
276269

277-
$migration->setVersion('2.7.0');
278-
279270
$migration->addPostQuery(
280271
$DB->buildUpdate(
281272
'glpi_plugin_datainjection_mappings',
@@ -299,8 +290,6 @@ function plugin_datainjection_migration_251_252(Migration $migration)
299290
/** @var DBmysql $DB */
300291
global $DB;
301292

302-
$migration->setVersion('2.5.2');
303-
304293
if (
305294
$DB->tableExists('glpi_plugin_datainjection_models')
306295
&& $DB->fieldExists('glpi_plugin_datainjection_models', 'date_mod')
@@ -322,8 +311,6 @@ function plugin_datainjection_migration_24_250(Migration $migration)
322311
/** @var DBmysql $DB */
323312
global $DB;
324313

325-
$migration->setVersion('2.5.0');
326-
327314
if (
328315
$DB->tableExists('glpi_plugin_datainjection_models')
329316
&& !$DB->fieldExists('glpi_plugin_datainjection_models', 'date_creation')
@@ -354,8 +341,6 @@ function plugin_datainjection_upgrade23_240(Migration $migration)
354341
/** @var DBmysql $DB */
355342
global $DB;
356343

357-
$migration->setVersion('2.4.0');
358-
359344
if ($DB->tableExists('glpi_plugin_datainjection_profiles')) {
360345
if ($DB->fieldExists('glpi_plugin_datainjection_profiles', 'ID')) {
361346
$migration->changeField('glpi_plugin_datainjection_profiles', 'ID', 'id', 'autoincrement');

0 commit comments

Comments
 (0)