Clean code

This commit is contained in:
Laurent Destailleur
2023-12-19 17:46:39 +01:00
parent 0832ed2443
commit 1f738e5a7b
4 changed files with 1 additions and 7 deletions

View File

@@ -1738,8 +1738,6 @@ abstract class CommonObject
public function fetch_thirdparty($force_thirdparty_id = 0)
{
// phpcs:enable
global $conf;
if (empty($this->socid) && empty($this->fk_soc) && empty($force_thirdparty_id)) {
return 0;
}