summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/pdo/subdrivers
diff options
context:
space:
mode:
authorGwenael Gallon <gwenael.gallon@mac.com>2015-02-07 19:08:44 +0100
committerGwenael Gallon <gwenael.gallon@mac.com>2015-02-07 19:08:44 +0100
commit3a486f19dfe79378d21c6b45579923cc86be0cb5 (patch)
tree222f997dbbc91c4811a675da272a958ed7bf13ea /system/database/drivers/pdo/subdrivers
parent19e1217db2e534d81abfd11fd4bed18516828bf8 (diff)
Revert indentation
Diffstat (limited to 'system/database/drivers/pdo/subdrivers')
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_dblib_driver.php8
-rw-r--r--system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php8
2 files changed, 8 insertions, 8 deletions
diff --git a/system/database/drivers/pdo/subdrivers/pdo_dblib_driver.php b/system/database/drivers/pdo/subdrivers/pdo_dblib_driver.php
index 09b48f124..c6ef96307 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_dblib_driver.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_dblib_driver.php
@@ -155,16 +155,16 @@ class CI_DB_pdo_dblib_driver extends CI_DB_pdo_driver {
protected function _list_tables($prefix_limit = FALSE)
{
$sql = 'SELECT '.$this->escape_identifiers('name')
- .' FROM '.$this->escape_identifiers('sysobjects')
- .' WHERE '.$this->escape_identifiers('type')." = 'U'";
+ .' FROM '.$this->escape_identifiers('sysobjects')
+ .' WHERE '.$this->escape_identifiers('type')." = 'U'";
if ($prefix_limit === TRUE && $this->dbprefix !== '')
{
$sql .= ' AND '.$this->escape_identifiers('name')." LIKE '".$this->escape_like_str($this->dbprefix)."%' "
- .sprintf($this->_like_escape_str, $this->_like_escape_chr);
+ .sprintf($this->_like_escape_str, $this->_like_escape_chr);
}
- return $sql .= ' ORDER BY '.$this->escape_identifiers('name');
+ return $sql .' ORDER BY '.$this->escape_identifiers('name');
}
// --------------------------------------------------------------------
diff --git a/system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php b/system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php
index d366d119c..eb0777316 100644
--- a/system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php
+++ b/system/database/drivers/pdo/subdrivers/pdo_sqlsrv_driver.php
@@ -184,16 +184,16 @@ class CI_DB_pdo_sqlsrv_driver extends CI_DB_pdo_driver {
protected function _list_tables($prefix_limit = FALSE)
{
$sql = 'SELECT '.$this->escape_identifiers('name')
- .' FROM '.$this->escape_identifiers('sysobjects')
- .' WHERE '.$this->escape_identifiers('type')." = 'U'";
+ .' FROM '.$this->escape_identifiers('sysobjects')
+ .' WHERE '.$this->escape_identifiers('type')." = 'U'";
if ($prefix_limit === TRUE && $this->dbprefix !== '')
{
$sql .= ' AND '.$this->escape_identifiers('name')." LIKE '".$this->escape_like_str($this->dbprefix)."%' "
- .sprintf($this->_like_escape_str, $this->_like_escape_chr);
+ .sprintf($this->_like_escape_str, $this->_like_escape_chr);
}
- return $sql .= ' ORDER BY '.$this->escape_identifiers('name');
+ return $sql .' ORDER BY '.$this->escape_identifiers('name');
}
// --------------------------------------------------------------------