Skip to content

Commit 4eda636

Browse files
committed
Fix class name into sql tables
Bump version
1 parent 4800d31 commit 4eda636

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

hook.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ function plugin_mydashboard_install()
296296
$DB->runFile(PLUGIN_MYDASHBOARD_DIR . "/install/sql/update-2.2.0.sql");
297297
$mig->executeMigration();
298298

299+
$mig = new Migration("2.2.2");
300+
$DB->runFile(PLUGIN_MYDASHBOARD_DIR . "/install/sql/update-2.2.2.sql");
301+
$mig->executeMigration();
299302

300303
$config = new Config();
301304
if (!$config->getFromDB("1")) {

install/sql/update-2.2.2.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UPDATE `glpi_plugin_mydashboard_configtranslations` SET `itemtype` = 'GlpiPlugin\\Mydashboard\\Config' WHERE `itemtype` = 'PluginMydashboardConfig';

mydashboard.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.2</num>
28+
<compatibility>~11.0</compatibility>
29+
<download_url>https://github.com/InfotelGLPI/mydashboard/releases/download/2.2.2/glpi-mydashboard-2.2.1.tar.bz2</download_url>
30+
</version>
2631
<version>
2732
<num>2.2.1</num>
2833
<compatibility>~11.0</compatibility>

setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
--------------------------------------------------------------------------
2626
*/
2727

28-
define('PLUGIN_MYDASHBOARD_VERSION', '2.2.1');
28+
define('PLUGIN_MYDASHBOARD_VERSION', '2.2.2');
2929

3030
global $CFG_GLPI;
3131

src/Preference.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ public function initPreferences($users_id)
293293
$input['automatic_refresh_delay'] = "10";
294294
$input['nb_widgets_width'] = "3";
295295
$input['replace_central'] = "0";
296-
$input['prefered_group'] = "[]";
297296
$input['requester_prefered_group'] = "[]";
298297
$input['prefered_group'] = "[]";
299298
$input['prefered_entity'] = "0";

0 commit comments

Comments
 (0)