Code comment
This commit is contained in:
parent
d9f6d9f0c3
commit
2854e0dae6
@ -160,10 +160,10 @@ abstract class DoliDB implements Database
|
||||
}
|
||||
|
||||
/**
|
||||
* Annulation d'une transaction et retour aux anciennes valeurs
|
||||
* Cancel a transaction and go back to initial data values
|
||||
*
|
||||
* @param string $log Add more log to default log line
|
||||
* @return resource|int 1 si annulation ok ou transaction non ouverte, 0 en cas d'erreur
|
||||
* @return resource|int 1 if cancelation is ok or transaction not open, 0 if error
|
||||
*/
|
||||
public function rollback($log = '')
|
||||
{
|
||||
|
||||
@ -274,10 +274,10 @@ class TraceableDB extends DoliDB
|
||||
}
|
||||
|
||||
/**
|
||||
* Annulation d'une transaction et retour aux anciennes valeurs
|
||||
* Cancel a transaction and go back to initial data values
|
||||
*
|
||||
* @param string $log Add more log to default log line
|
||||
* @return int 1 si annulation ok ou transaction non ouverte, 0 en cas d'erreur
|
||||
* @param string $log Add more log to default log line
|
||||
* @return resource|int 1 if cancelation is ok or transaction not open, 0 if error
|
||||
*/
|
||||
public function rollback($log = '')
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user