mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Clean up usage of is_countable()
This commit is contained in:
parent
67a9aba082
commit
494e0ee028
8 changed files with 10 additions and 14 deletions
|
|
@ -902,7 +902,7 @@ class DB
|
|||
*/
|
||||
public function _dbInfoExists()
|
||||
{
|
||||
return ($this->master_db && (is_countable($this->slave_db) && count($this->slave_db)));
|
||||
return $this->master_db ? true : false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue