Removing redundant 'isset' check from DboMysql::connect

This commit is contained in:
ADmad 2009-12-15 20:41:44 +05:30
parent 02330b2d9c
commit 33038c75ac

View file

@ -461,7 +461,7 @@ class DboMysql extends DboMysqlBase {
$this->connected = true;
}
if (isset($config['encoding']) && !empty($config['encoding'])) {
if (!empty($config['encoding'])) {
$this->setEncoding($config['encoding']);
}