File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 3131use GlpiPlugin \Autoexportsearches \Menu ;
3232use GlpiPlugin \Autoexportsearches \Profile ;
3333
34- define ('PLUGIN_AUTOEXPORTSEARCH_VERSION ' , '2.2.0 ' );
34+ define ('PLUGIN_AUTOEXPORTSEARCH_VERSION ' , '2.2.1 ' );
3535
3636global $ CFG_GLPI ;
3737
Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments