Skip to content

Commit

Permalink
Fix collect registries content limit (#580)
Browse files Browse the repository at this point in the history
* Fic collect registries content limit

* Remove duplicate code
  • Loading branch information
Lainow authored Dec 18, 2024
1 parent 7ceeb50 commit e96ee0c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions install/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -1089,14 +1089,6 @@ function pluginGlpiinventoryUpdate($current_version, $migrationname = 'Migration
], "glpiinventory");
}

// Change
$migration->changeField(
'glpi_plugin_glpiinventory_collects_registries_contents',
'value',
'value',
'text DEFAULT NULL'
);

$migration->executeMigration();
}

Expand Down Expand Up @@ -6934,7 +6926,7 @@ function do_collect_migration($migration)
'value' => null];
$a_table['fields']['key'] = ['type' => 'string',
'value' => null];
$a_table['fields']['value'] = ['type' => 'string',
$a_table['fields']['value'] = ['type' => 'text',
'value' => null];

$a_table['oldfields'] = [];
Expand Down

0 comments on commit e96ee0c

Please sign in to comment.