Qual: Prepare move of function dol_delete_file into file.lib.php

This commit is contained in:
Laurent Destailleur
2011-03-09 15:34:57 +00:00
parent e9981e14b2
commit e9f4879245
28 changed files with 67 additions and 33 deletions

View File

@@ -170,6 +170,7 @@ class Commande extends CommonObject
function valid($user)
{
global $conf,$langs;
require_once(DOL_DOCUMENT_ROOT."/lib/files.lib.php");
$error=0;
@@ -2034,6 +2035,7 @@ class Commande extends CommonObject
function delete($user)
{
global $conf, $langs;
require_once(DOL_DOCUMENT_ROOT."/lib/files.lib.php");
$err = 0;