Removed dead code
This commit is contained in:
parent
ac897b5b4d
commit
82da38df65
@ -89,18 +89,6 @@ if ($action == 'update')
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($action == 'activate_pdfsecurity')
|
|
||||||
{
|
|
||||||
dolibarr_set_const($db, "PDF_SECURITY_ENCRYPTION", "1", 'chaine', 0, '', $conf->entity);
|
|
||||||
header("Location: ".$_SERVER["PHP_SELF"]."?mainmenu=home&leftmenu=setup");
|
|
||||||
exit;
|
|
||||||
} elseif ($action == 'disable_pdfsecurity')
|
|
||||||
{
|
|
||||||
dolibarr_del_const($db, "PDF_SECURITY_ENCRYPTION", $conf->entity);
|
|
||||||
header("Location: ".$_SERVER["PHP_SELF"]."?mainmenu=home&leftmenu=setup");
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user