andre 4 éve
szülő
commit
c46a73357f
1 módosított fájl, 4 hozzáadás és 0 törlés
  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->bind_param('i',$ip);
         $dbAction->execute();
+        //remove from blacklist
+        $dbAction = $this->db->prepare("DELETE FROM blacklist WHERE ip = ?");
+        $dbAction->bind_param('i',$ip);
+        $dbAction->execute();
         return true;
     }