checkstyle

This commit is contained in:
Cédric Salvador 2013-09-18 14:56:08 +02:00 committed by Raphaël Doursenaud
parent 70ae7b6686
commit 039bd5b4c8
2 changed files with 2 additions and 10 deletions

View File

@ -1072,7 +1072,7 @@ function dol_add_file_process($upload_dir, $allowoverwrite=0, $donotupdatesessio
setEventMessage($langs->trans("ErrorFileNotLinked"), 'errors');
}
}
}
}
else
{
$langs->load("errors");

View File

@ -229,18 +229,10 @@ if ($object->id > 0)
print '<br>';
$modulepart = 'projet';
$modulepart = 'projet';
$permission = $user->rights->projet->creer;
$param = '&id=' . $object->id;
include_once DOL_DOCUMENT_ROOT . '/core/tpl/doc2.tpl.php';
/*// Affiche formulaire upload
$formfile=new FormFile($db);
$formfile->form_attach_new_file(DOL_URL_ROOT.'/projet/tasks/document.php?id='.$object->id.($withproject?'&withproject=1':''),'',0,0,$user->rights->projet->creer,50,$object);
// List of document
$param='&id='.$object->id;
$formfile->list_of_documents($filearray,$object,'projet',$param,0,dol_sanitizeFileName($projectstatic->ref).'/'.dol_sanitizeFileName($object->ref).'/');*/
}
else
{