Skip to content

Commit 8aceb83

Browse files
committed
Merge branch 'release/2.4.0'
2 parents b765e8f + efeed70 commit 8aceb83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inc/accountsection.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static function install(Migration $migration) {
7070
global $DB;
7171

7272
$table = getTableForItemType(__CLASS__);
73-
if (!TableExists($table)) {
73+
if (!$DB->tableExists($table)) {
7474
$migration->displayMessage("Installing $table");
7575
$query ="CREATE TABLE IF NOT EXISTS `glpi_plugin_order_accountsections` (
7676
`id` int(11) NOT NULL AUTO_INCREMENT,

inc/analyticnature.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static function install(Migration $migration) {
7070
global $DB;
7171

7272
$table = getTableForItemType(__CLASS__);
73-
if (!TableExists($table)) {
73+
if (!$DB->tableExists($table)) {
7474
$migration->displayMessage("Installing $table");
7575
$query ="CREATE TABLE IF NOT EXISTS `glpi_plugin_order_analyticnatures` (
7676
`id` int(11) NOT NULL AUTO_INCREMENT,

0 commit comments

Comments
 (0)