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:
@@ -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
|
||||
|
Reference in New Issue
Block a user