summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mssql/mssql_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-25 14:26:20 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-25 14:26:20 +0100
commitf2818bd9b9be242a1c53ee839a95962a682a2e93 (patch)
tree4443fce56188c3df726717102e5f62a920fb3e3e /system/database/drivers/mssql/mssql_driver.php
parent2e171023bae38735ec08bbd9cb160cee75edbc62 (diff)
Remove error suppression usage from db_connect()
Diffstat (limited to 'system/database/drivers/mssql/mssql_driver.php')
-rw-r--r--system/database/drivers/mssql/mssql_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/drivers/mssql/mssql_driver.php b/system/database/drivers/mssql/mssql_driver.php
index 075542ae0..afe80e8d9 100644
--- a/system/database/drivers/mssql/mssql_driver.php
+++ b/system/database/drivers/mssql/mssql_driver.php
@@ -98,8 +98,8 @@ class CI_DB_mssql_driver extends CI_DB {
public function db_connect($persistent = FALSE)
{
$this->conn_id = ($persistent)
- ? @mssql_pconnect($this->hostname, $this->username, $this->password)
- : @mssql_connect($this->hostname, $this->username, $this->password);
+ ? mssql_pconnect($this->hostname, $this->username, $this->password)
+ : mssql_connect($this->hostname, $this->username, $this->password);
if ( ! $this->conn_id)
{