mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Clean up references to deprecated DB methods in other places
This commit is contained in:
parent
59113fc385
commit
959503b6ec
2 changed files with 5 additions and 5 deletions
|
|
@ -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';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue