From a21da1d5366fd36ca0494778aaf1a2f6c072f16e Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 8 Jan 2010 10:46:00 +0000 Subject: [PATCH] Fix: obsolete --- htdocs/admin/security_other.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/htdocs/admin/security_other.php b/htdocs/admin/security_other.php index 07088d2dce3..75d4c13583d 100644 --- a/htdocs/admin/security_other.php +++ b/htdocs/admin/security_other.php @@ -108,19 +108,6 @@ if ($_GET["action"] == 'MAIN_UMASK') exit; } -if ($_GET["action"] == 'activate_avscan') -{ - dolibarr_set_const($db, "MAIN_USE_AVSCAN", '1','chaine',0,'',$conf->entity); - Header("Location: security_other.php"); - exit; -} -else if ($_GET["action"] == 'disable_avscan') -{ - dolibarr_del_const($db, "MAIN_USE_AVSCAN",$conf->entity); - Header("Location: security_other.php"); - exit; -} - if ($_GET["action"] == 'MAIN_ANTIVIRUS_COMMAND') { dolibarr_set_const($db, "MAIN_ANTIVIRUS_COMMAND", $_POST["MAIN_ANTIVIRUS_COMMAND"],'chaine',0,'',$conf->entity);