Skip to content

Commit

Permalink
Drop useless check
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Mar 25, 2022
1 parent 9b61acf commit f368f24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/line.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ static function install(Migration $migration) {

$default_charset = DBConnection::getDefaultCharset();
$default_collation = DBConnection::getDefaultCollation();
$default_key_sign = method_exists('DBConnection', 'getDefaultPrimaryKeySignOption') ? DBConnection::getDefaultPrimaryKeySignOption() : '';
$default_key_sign = DBConnection::getDefaultPrimaryKeySignOption();

$table = self::getTable();
if (!$DB->tableExists($table)) {
Expand Down
2 changes: 1 addition & 1 deletion inc/phone.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ static function install(Migration $migration) {

$default_charset = DBConnection::getDefaultCharset();
$default_collation = DBConnection::getDefaultCollation();
$default_key_sign = method_exists('DBConnection', 'getDefaultPrimaryKeySignOption') ? DBConnection::getDefaultPrimaryKeySignOption() : '';
$default_key_sign = DBConnection::getDefaultPrimaryKeySignOption();

$table = self::getTable();
if (!$DB->tableExists($table)) {
Expand Down
2 changes: 1 addition & 1 deletion inc/phone_line.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ static function install(Migration $migration) {

$default_charset = DBConnection::getDefaultCharset();
$default_collation = DBConnection::getDefaultCollation();
$default_key_sign = method_exists('DBConnection', 'getDefaultPrimaryKeySignOption') ? DBConnection::getDefaultPrimaryKeySignOption() : '';
$default_key_sign = DBConnection::getDefaultPrimaryKeySignOption();

$table = self::getTable();
if (!$DB->tableExists($table)) {
Expand Down

0 comments on commit f368f24

Please sign in to comment.