1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 22:26:43 +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

@@ -230,18 +230,6 @@ class DibiMySqliDriver extends DibiObject implements IDibiDriver
/**
* Is in transaction?
* @return bool
*/
public function inTransaction()
{
$row = mysqli_fetch_row(mysqli_query($this->connection, 'SELECT @@autocommit'));
return (bool) $row[0];
}
/**
* Returns the connection resource.
* @return mysqli