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

@@ -208,6 +208,7 @@ function project_pdf_create($db, $object, $model,$outputlangs)
function project_delete_preview($db, $objectid)
{
global $langs,$conf;
require_once(DOL_DOCUMENT_ROOT."/lib/files.lib.php");
$project = new Project($db);
$project->fetch($objectid);