Fix: dead code
This commit is contained in:
parent
6662f8b5a3
commit
072bb709ff
@ -165,12 +165,16 @@ print '<center><input type="submit" class="button" value="'.$langs->trans("Save"
|
|||||||
|
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
|
||||||
|
dol_fiche_end();
|
||||||
|
|
||||||
print '<br>';
|
print '<br>';
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Notifications
|
* Notifications
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* Disable this, there is no trigger with elementtype 'withdraw'
|
||||||
if (! empty($conf->global->MAIN_MODULE_NOTIFICATION))
|
if (! empty($conf->global->MAIN_MODULE_NOTIFICATION))
|
||||||
{
|
{
|
||||||
$langs->load("mails");
|
$langs->load("mails");
|
||||||
@ -242,7 +246,7 @@ if (! empty($conf->global->MAIN_MODULE_NOTIFICATION))
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
print '<td align="right"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td></tr>';
|
print '<td align="right"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td></tr>';
|
||||||
}
|
|
||||||
// List of current notifications for objet_type='withdraw'
|
// List of current notifications for objet_type='withdraw'
|
||||||
$sql = "SELECT u.lastname, u.firstname,";
|
$sql = "SELECT u.lastname, u.firstname,";
|
||||||
$sql.= " nd.rowid, ad.code, ad.label";
|
$sql.= " nd.rowid, ad.code, ad.label";
|
||||||
@ -277,6 +281,8 @@ if ($resql)
|
|||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
print '</form>';
|
print '</form>';
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user