andre vor 4 Jahren
Ursprung
Commit
c46a73357f
1 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  1. 4 0
      action.php

+ 4 - 0
action.php

@@ -80,6 +80,10 @@ class action {
         $dbAction = $this->db->prepare("DELETE FROM delist WHERE ip = ?");
         $dbAction = $this->db->prepare("DELETE FROM delist WHERE ip = ?");
         $dbAction->bind_param('i',$ip);
         $dbAction->bind_param('i',$ip);
         $dbAction->execute();
         $dbAction->execute();
+        //remove from blacklist
+        $dbAction = $this->db->prepare("DELETE FROM blacklist WHERE ip = ?");
+        $dbAction->bind_param('i',$ip);
+        $dbAction->execute();
         return true;
         return true;
     }
     }