API CHANGE Renamed transactions methods from endTransaction() to transactionEnd(), startTransaction() to transactionStart() to comply with new sapphire trunk API

This commit is contained in:
Ingo Schommer 2011-03-11 16:43:27 +13:00
parent 7fb82f88d1
commit 2b0ffdb4e0

View File

@ -1749,6 +1749,13 @@ class PostgreSQLDatabase extends SS_Database {
else
return false;
}
/**
* @deprecated 1.0 Use transactionStart() (method required for 2.4.x)
*/
public function startTransaction($transaction_mode=false, $session_characteristics=false){
$this->transactionStart($transaction_mode, $session_characteristics);
}
/*
* Start a prepared transaction
@ -1784,6 +1791,13 @@ class PostgreSQLDatabase extends SS_Database {
DB::query('ROLLBACK;');
}
/**
* @deprecated 1.0 Use transactionEnd() (method required for 2.4.x)
*/
public function endTransaction(){
$this->transactionEnd();
}
/*
* Commit everything inside this transaction so far