Remove special handling for audited domains and just add them separately to both lists.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2019-08-07 22:20:00 +02:00
parent 586224fde2
commit 965f2083a6
3 changed files with 9 additions and 11 deletions

View File

@@ -33,14 +33,10 @@ $db = SQLite3_connect($GRAVITYDB, SQLITE3_OPEN_READWRITE);
switch($list) {
case "white":
if(isset($_POST["auditlog"]))
echo add_to_table($db, "domain_audit", $domains);
echo add_to_table($db, "whitelist", $domains);
break;
case "black":
if(isset($_POST["auditlog"]))
echo add_to_table($db, "domain_audit", $domains);
echo add_to_table($db, "blacklist", $domains);
break;