Permalink
Browse files

Removed the execute method from MSSQL. It is provided by DboDatasourc…

…e now.
  • Loading branch information...
1 parent 4e8b863 commit 244bc1369a69d7c311ae9dd89ccba8e35521c68f @jrbasso jrbasso committed Apr 28, 2011
Showing with 0 additions and 12 deletions.
  1. +0 −12 lib/Cake/Model/Datasource/Database/Mssql.php
@@ -147,18 +147,6 @@ public function enabled() {
}
/**
- * Executes given SQL statement.
- *
- * @param string $sql SQL statement
- * @return resource Result resource identifier
- */
- protected function _execute($sql) {
- $result = @mssql_query($sql, $this->connection);
- $this->__lastQueryHadError = ($result === false);
- return $result;
- }
-
-/**
* Returns an array of sources (tables) in the database.
*
* @return array Array of tablenames in the database

0 comments on commit 244bc13

Please sign in to comment.