Skip to content

Commit fc3ea92

Browse files
committed
fix uninstall
1 parent 4840301 commit fc3ea92

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

inc/profile.class.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ public static function uninstall()
121121
{
122122
/** @var DBmysql $DB */
123123
global $DB;
124-
$DB->dropTable('glpi_profilerights');
124+
$query = "DELETE FROM `glpi_profilerights`
125+
WHERE `name` LIKE '%plugin_genericobject%'";
126+
$DB->doQuery($query);
125127
}
126128
}

0 commit comments

Comments
 (0)