Clean up references to deprecated DB methods in other places

This commit is contained in:
Kijin Sung 2023-06-19 15:24:27 +09:00
parent 59113fc385
commit 959503b6ec
2 changed files with 5 additions and 5 deletions

View file

@ -992,7 +992,7 @@ class ModuleHandler extends Handler
}
// If connection to DB has a problem even though it's not install module, set error
if($this->module != 'install' && !DB::getInstance()->isConnected())
if($this->module != 'install' && !DB::getInstance()->getHandle())
{
$this->error = 'msg_dbconnect_failed';
}