From 32a625bc6fb42c8a3b9c866d5f1d2c9c2503cd75 Mon Sep 17 00:00:00 2001 From: Riccardo Tempesta Date: Tue, 12 Sep 2017 15:48:30 +0200 Subject: [PATCH] FIX table prefix install issue --- Setup/UpgradeSchema.php | 2 +- etc/module.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Setup/UpgradeSchema.php b/Setup/UpgradeSchema.php index c639822..15dd1da 100644 --- a/Setup/UpgradeSchema.php +++ b/Setup/UpgradeSchema.php @@ -156,7 +156,7 @@ protected function upgradeTo020000(SchemaSetupInterface $setup) { $connection = $setup->getConnection(); $tfaAdminUserTable = $setup->getTable('msp_tfa_user_config'); - $adminUserTable = $connection->getTableName('admin_user'); + $adminUserTable = $setup->getTable('admin_user'); $table = $setup->getConnection() ->newTable($tfaAdminUserTable) diff --git a/etc/module.xml b/etc/module.xml index de0a44a..edbd6d9 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -21,7 +21,7 @@ --> - +