An attempt to bypass the error

This commit is contained in:
slawkens 2024-02-01 20:43:46 +01:00
parent 08e7cf05b5
commit f7971a21d8

View File

@ -135,7 +135,7 @@ $eloquentConnection = null;
require_once SYSTEM . 'database.php';
// verify myaac tables exists in database
if(!$db->hasTable('myaac_account_actions')) {
if(!defined('MYAAC_INSTALL') && !$db->hasTable('myaac_account_actions')) {
throw new RuntimeException('Seems that the table myaac_account_actions of MyAAC doesn\'t exist in the database. This is a fatal error. You can try to reinstall MyAAC by visiting ' . BASE_URL . 'install');
}