Hi,
in the meantime I found a solution :).
Open the file document.php located in
<site root>/components/com_joomdoc/helpers
then add the following code
$database->setQuery("SELECT dmfilename FROM #__joomdoc WHERE id='" . $database->getEscaped($uid) . "'");
$result = $database->loadResult();
if ($database->getErrorNum()) {
echo $database->stderr();
return false;
}
$file = JPATH_ROOT . "\\joomdocs\\" . $result;
if (!unlink($file)) {
DocmanHelper::_returnTo('cat_view' , _DML_ORPHANS_PROBLEM , $doc->catid);
}
before
$doc->remove ( array ($uid ) );
in the funcion "deleteDocument"
Any suggestion that can optimize the previous code, or to correct any problem that the code can cause, is welcome ^^
Best Regards
Alessio