Skip to content

Commit

Permalink
Merge pull request zendframework#1601 from Leftbrained/hotfix/db-remo…
Browse files Browse the repository at this point in the history
…ve-default-catalog

Zend\Db: Remove the getDefaultCatalog method from Adapter and Connections
  • Loading branch information
ralphschindler committed Jun 26, 2012
2 parents 08bdc99 + c839510 commit 17d680c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 29 deletions.
1 change: 0 additions & 1 deletion library/Zend/Db/Adapter/Driver/ConnectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
interface ConnectionInterface
{
public function getDefaultCatalog();
public function getCurrentSchema();
public function getResource();
public function connect();
Expand Down
10 changes: 0 additions & 10 deletions library/Zend/Db/Adapter/Driver/Mysqli/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,16 +94,6 @@ public function getConnectionParameters()
return $this->connectionParameters;
}

/**
* Get default catalog
*
* @return null
*/
public function getDefaultCatalog()
{
return null;
}

/**
* Get current schema
*
Expand Down
8 changes: 0 additions & 8 deletions library/Zend/Db/Adapter/Driver/Pdo/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,6 @@ public function getConnectionParameters()
return $this->connectionParameters;
}

/**
* @return null
*/
public function getDefaultCatalog()
{
return null;
}

/**
* Get current schema
*
Expand Down
10 changes: 0 additions & 10 deletions library/Zend/Db/Adapter/Driver/Sqlsrv/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,6 @@ public function getConnectionParameters()
return $this->connectionParameters;
}

/**
* Get default catalog
*
* @return null
*/
public function getDefaultCatalog()
{
return null;
}

/**
* Get current schema
*
Expand Down

0 comments on commit 17d680c

Please sign in to comment.