Skip to content

Commit 244bc13

Browse files
committed
Removed the execute method from MSSQL. It is provided by DboDatasource now.
1 parent 4e8b863 commit 244bc13

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/Cake/Model/Datasource/Database/Mssql.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -146,18 +146,6 @@ public function enabled() {
146146
return in_array('sqlsrv', PDO::getAvailableDrivers());
147147
}
148148

149-
/**
150-
* Executes given SQL statement.
151-
*
152-
* @param string $sql SQL statement
153-
* @return resource Result resource identifier
154-
*/
155-
protected function _execute($sql) {
156-
$result = @mssql_query($sql, $this->connection);
157-
$this->__lastQueryHadError = ($result === false);
158-
return $result;
159-
}
160-
161149
/**
162150
* Returns an array of sources (tables) in the database.
163151
*

0 commit comments

Comments
 (0)