1
0
mirror of https://github.com/dg/dibi.git synced 2025-10-20 01:06:25 +02:00

Removed inTransaction definitely (BC break!)

This commit is contained in:
David Grudl
2010-05-19 18:33:28 +02:00
parent 8b4cd4e689
commit d19afd5790
12 changed files with 1 additions and 119 deletions

View File

@@ -246,17 +246,6 @@ class DibiMySqlDriver extends DibiObject implements IDibiDriver
/**
* Is in transaction?
* @return bool
*/
public function inTransaction()
{
return (bool) mysql_result(mysql_query('SELECT @@autocommit', $this->connection), 0);
}
/**
* Returns the connection resource.
* @return mixed