Skip to content

Commit

Permalink
TableExists changes
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Sep 21, 2017
1 parent 6a4ed72 commit 2f1c908
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/entity.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ static function install(Migration $migration) {

$table = self::getTable();

if (!TableExists($table)) {
if (!$DB::tableExists($table)) {
$migration->displayMessage("Installing $table");

$query = "CREATE TABLE IF NOT EXISTS `$table` (
Expand Down
2 changes: 1 addition & 1 deletion inc/ticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ static function install(Migration $migration) {

$table = self::getTable();

if (!TableExists($table)) {
if (!$DB::tableExists($table)) {
$migration->displayMessage("Installing $table");

$query = "CREATE TABLE IF NOT EXISTS `$table` (
Expand Down
2 changes: 1 addition & 1 deletion inc/type.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static function install(Migration $migration) {

$table = self::getTable();

if (!TableExists($table)) {
if (!$DB::tableExists($table)) {
$migration->displayMessage("Installing $table");

$query = "CREATE TABLE IF NOT EXISTS `$table` (
Expand Down

0 comments on commit 2f1c908

Please sign in to comment.