Fix warnings
This commit is contained in:
parent
f5c59c39f9
commit
564c6f2cfd
@ -955,7 +955,7 @@ class Fichinter extends CommonObject
|
|||||||
* @param int $notrigger Disable trigger
|
* @param int $notrigger Disable trigger
|
||||||
* @return int <0 if KO, >0 if OK
|
* @return int <0 if KO, >0 if OK
|
||||||
*/
|
*/
|
||||||
public function delete($user, $notrigger = 0)
|
public function delete(User $user, $notrigger = 0)
|
||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user