mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Clean code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user