File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public static function install(Migration $migration) {
70
70
global $ DB ;
71
71
72
72
$ table = getTableForItemType (__CLASS__ );
73
- if (!TableExists ($ table )) {
73
+ if (!$ DB -> tableExists ($ table )) {
74
74
$ migration ->displayMessage ("Installing $ table " );
75
75
$ query ="CREATE TABLE IF NOT EXISTS `glpi_plugin_order_accountsections` (
76
76
`id` int(11) NOT NULL AUTO_INCREMENT,
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public static function install(Migration $migration) {
70
70
global $ DB ;
71
71
72
72
$ table = getTableForItemType (__CLASS__ );
73
- if (!TableExists ($ table )) {
73
+ if (!$ DB -> tableExists ($ table )) {
74
74
$ migration ->displayMessage ("Installing $ table " );
75
75
$ query ="CREATE TABLE IF NOT EXISTS `glpi_plugin_order_analyticnatures` (
76
76
`id` int(11) NOT NULL AUTO_INCREMENT,
You can’t perform that action at this time.
0 commit comments