This repository was archived by the owner on Oct 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ static function install(Migration $migration) {
243243
244244 $ default_charset = DBConnection::getDefaultCharset ();
245245 $ default_collation = DBConnection::getDefaultCollation ();
246- $ default_key_sign = method_exists ( ' DBConnection ' , ' getDefaultPrimaryKeySignOption ' ) ? DBConnection ::getDefaultPrimaryKeySignOption () : '' ;
246+ $ default_key_sign = DBConnection::getDefaultPrimaryKeySignOption ();
247247
248248 $ table = getTableForItemType (__CLASS__ );
249249
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ static function install(Migration $migration) {
106106
107107 $ default_charset = DBConnection::getDefaultCharset ();
108108 $ default_collation = DBConnection::getDefaultCollation ();
109- $ default_key_sign = method_exists ( ' DBConnection ' , ' getDefaultPrimaryKeySignOption ' ) ? DBConnection ::getDefaultPrimaryKeySignOption () : '' ;
109+ $ default_key_sign = DBConnection::getDefaultPrimaryKeySignOption ();
110110
111111 $ table = getTableForItemType (__CLASS__ );
112112
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ static function install($migration) {
4444
4545 $ default_charset = DBConnection::getDefaultCharset ();
4646 $ default_collation = DBConnection::getDefaultCollation ();
47- $ default_key_sign = method_exists ( ' DBConnection ' , ' getDefaultPrimaryKeySignOption ' ) ? DBConnection ::getDefaultPrimaryKeySignOption () : '' ;
47+ $ default_key_sign = DBConnection::getDefaultPrimaryKeySignOption ();
4848
4949 if (!$ DB ->tableExists ("glpi_plugin_mantis_userprefs " )) {
5050 $ query = "CREATE TABLE `glpi_plugin_mantis_userprefs` (
You can’t perform that action at this time.
0 commit comments