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