This commit is contained in:
Humorhenker committed 2019-09-25 22:01:48 +02:00
1 parent cb81230798
commit a48be33024
18 files changed
+531 -195

No files matched your search

+2 -1
View File
@@ -24,10 +24,11 @@ try {
session_start();
if ($_SESSION['log'] == 1 && $_SESSION['admin']) {
$mailuserID = $_POST['mailuserID'];
$eintrag = "UPDATE `mailserver`.`virtual_users` SET `active`='0' WHERE `id` LIKE :mailuserID";
$eintrag = "UPDATE `accounts` SET `enabled`='0' WHERE `id` LIKE :mailuserID";
$sth = $dbh->prepare($eintrag);
$sth->execute(array(':mailuserID' => $mailuserID));
header("Location: ../admin.php?success=1");
exit;
}
header("Location: ../index.php");
?>