Update api_thirdparties.class.php
This commit is contained in:
parent
434f0a786b
commit
b0539d0d1a
@ -512,9 +512,10 @@ class Thirdparties extends DolibarrApi
|
|||||||
/**
|
/**
|
||||||
* Delete thirdparty
|
* Delete thirdparty
|
||||||
*
|
*
|
||||||
* @param int $id Thirparty ID
|
* @param int $id Thirdparty ID
|
||||||
* @return integer
|
* @return integer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public function delete($id)
|
public function delete($id)
|
||||||
{
|
{
|
||||||
if (!DolibarrApiAccess::$user->rights->societe->supprimer) {
|
if (!DolibarrApiAccess::$user->rights->societe->supprimer) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user