From b261538286f6b5d5684d54cb9b4b30c2dcbe29c9 Mon Sep 17 00:00:00 2001 From: Anton Terekhov Date: Wed, 21 Nov 2012 21:49:18 +0400 Subject: [PATCH] Removed dead code, `explode` will only return `false` if delimiter is empty string. In such a case `explode` will trigger warning --- model/SqlDbDriver.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/model/SqlDbDriver.php b/model/SqlDbDriver.php index ec62c49..1952136 100644 --- a/model/SqlDbDriver.php +++ b/model/SqlDbDriver.php @@ -109,9 +109,6 @@ abstract class SqlDbDriver extends DbDriver public function quoteIdentifier($ident) { $ident = explode('.', $ident); - if (!is_array($ident)) { - $ident = array($ident); - } foreach ($ident as &$segment) { $segment = $this->identifier_quote . $segment . $this->identifier_quote; }