Removed dead code, explode
will only return false
if delimiter is empty string. In such a case explode
will trigger warning
This commit is contained in:
@ -109,9 +109,6 @@ abstract class SqlDbDriver extends DbDriver
|
|||||||
public function quoteIdentifier($ident)
|
public function quoteIdentifier($ident)
|
||||||
{
|
{
|
||||||
$ident = explode('.', $ident);
|
$ident = explode('.', $ident);
|
||||||
if (!is_array($ident)) {
|
|
||||||
$ident = array($ident);
|
|
||||||
}
|
|
||||||
foreach ($ident as &$segment) {
|
foreach ($ident as &$segment) {
|
||||||
$segment = $this->identifier_quote . $segment . $this->identifier_quote;
|
$segment = $this->identifier_quote . $segment . $this->identifier_quote;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user