Skip to content

Commit 3b27df3

Browse files
committed
Bump version
1 parent ec4c679 commit 3b27df3

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

autoexportsearches.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
<author>Infotel</author>
2424
</authors>
2525
<versions>
26+
<version>
27+
<num>2.2.1</num>
28+
<compatibility>~11.0</compatibility>
29+
<download_url>https://github.com/InfotelGLPI/autoexportsearches/releases/download/2.2.1/glpi-autoexportsearches-2.2.1.tar.bz2</download_url>
30+
</version>
2631
<version>
2732
<num>2.2.0</num>
2833
<compatibility>~11.0</compatibility>

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
use GlpiPlugin\Autoexportsearches\Menu;
3232
use GlpiPlugin\Autoexportsearches\Profile;
3333

34-
define('PLUGIN_AUTOEXPORTSEARCH_VERSION', '2.2.0');
34+
define('PLUGIN_AUTOEXPORTSEARCH_VERSION', '2.2.1');
3535

3636
global $CFG_GLPI;
3737

src/Exportconfig.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ public static function install(Migration $migration)
171171
);
172172
}
173173
}
174+
175+
$query = $DB->buildDelete(
176+
'glpi_crontasks',
177+
['itemtype' => ['LIKE', 'PluginAutoexportsearches' . '%']]
178+
);
179+
$DB->doQuery($query);
174180
}
175181

176182
public static function uninstall()

0 commit comments

Comments
 (0)