Fix travis issues
This commit is contained in:
parent
bb92e64e43
commit
9bd5ed627f
@ -2901,7 +2901,7 @@ class Propal extends CommonObject
|
||||
if (! $error)
|
||||
{
|
||||
// On delete ecm_files database info
|
||||
if (!$this->delete_ecmfiles()) {
|
||||
if (!$this->deleteEcmFiles()) {
|
||||
$this->db->rollback();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -3328,7 +3328,7 @@ class Commande extends CommonOrder
|
||||
if (! $error)
|
||||
{
|
||||
// On delete ecm_files database info
|
||||
if (!$this->delete_ecmfiles()) {
|
||||
if (!$this->deleteEcmFiles()) {
|
||||
$this->db->rollback();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -2020,7 +2020,7 @@ class Facture extends CommonInvoice
|
||||
if ($resql)
|
||||
{
|
||||
// On delete ecm_files database info
|
||||
if (!$this->delete_ecmfiles()) {
|
||||
if (!$this->deleteEcmFiles()) {
|
||||
$this->db->rollback();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -7740,7 +7740,8 @@ abstract class CommonObject
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function delete_ecmfiles(){
|
||||
public function deleteEcmFiles()
|
||||
{
|
||||
global $conf;
|
||||
$this->db->begin();
|
||||
|
||||
|
||||
@ -1311,7 +1311,7 @@ class Expedition extends CommonObject
|
||||
$this->db->commit();
|
||||
|
||||
// On delete ecm_files database info
|
||||
if (!$this->delete_ecmfiles()) {
|
||||
if (!$this->deleteEcmFiles()) {
|
||||
$this->db->rollback();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -1004,7 +1004,7 @@ class Fichinter extends CommonObject
|
||||
if (! $error)
|
||||
{
|
||||
// On delete ecm_files database info
|
||||
if (!$this->delete_ecmfiles()) {
|
||||
if (!$this->deleteEcmFiles()) {
|
||||
$this->db->rollback();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -1980,7 +1980,7 @@ class CommandeFournisseur extends CommonOrder
|
||||
if (! $error)
|
||||
{
|
||||
// On delete ecm_files database info
|
||||
if (!$this->delete_ecmfiles()) {
|
||||
if (!$this->deleteEcmFiles()) {
|
||||
$this->db->rollback();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -1158,7 +1158,7 @@ class FactureFournisseur extends CommonInvoice
|
||||
if (! $error)
|
||||
{
|
||||
// On delete ecm_files database info
|
||||
if (!$this->delete_ecmfiles()) {
|
||||
if (!$this->deleteEcmFiles()) {
|
||||
$this->db->rollback();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -2066,7 +2066,7 @@ class SupplierProposal extends CommonObject
|
||||
if (! $error)
|
||||
{
|
||||
// On delete ecm_files database info
|
||||
if (!$this->delete_ecmfiles()) {
|
||||
if (!$this->deleteEcmFiles()) {
|
||||
$this->db->rollback();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user