Comment dead code

This commit is contained in:
Laurent Destailleur 2023-10-26 01:36:44 +02:00
parent 2075179795
commit d3c9549154
2 changed files with 4 additions and 2 deletions

View File

@ -2474,6 +2474,7 @@ class Propal extends CommonObject
* @return int <0 if ko, >0 if ok
* @deprecated remise_percent is a deprecated field for object parent
*/
/*
public function set_remise_percent($user, $remise, $notrigger = 0)
{
// phpcs:enable
@ -2526,7 +2527,7 @@ class Propal extends CommonObject
return -1;
}
*/
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**

View File

@ -1533,6 +1533,7 @@ class SupplierProposal extends CommonObject
* @param double $remise Amount discount
* @return int <0 if ko, >0 if ok
*/
/*
public function set_remise_percent($user, $remise)
{
// phpcs:enable
@ -1555,7 +1556,7 @@ class SupplierProposal extends CommonObject
}
return 0;
}
*/
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
/**