Skip to content

Commit 7a5d582

Browse files
authored
Update index.php
1 parent 6101bf1 commit 7a5d582

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

admin/index.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@
391391
mysqli_query($link, "UPDATE `accounts` SET `banned` = '$reason' WHERE `username` = '$un'"); // set account to banned
392392
mysqli_query($link, "UPDATE `apps` SET `banned` = '1' WHERE `owner` = '$un'"); // ban all apps owned by account
393393

394-
wh_log($adminwebhook, "Admin `{$username}` has banned user `{$un}` for reason `{$reason}`", $adminwebhookun);
394+
dashboard\primary\wh_log($adminwebhook, "Admin `{$username}` has banned user `{$un}` for reason `{$reason}`", $adminwebhookun);
395395

396396
dashboard\primary\success("Account Banned!");
397397
}
@@ -403,7 +403,7 @@
403403
mysqli_query($link, "UPDATE `accounts` SET `banned` = NULL WHERE `username` = '$un'"); // set account to not banned
404404
mysqli_query($link, "UPDATE `apps` SET `banned` = '0' WHERE `owner` = '$un'"); // unban all apps owned by account
405405

406-
wh_log($adminwebhook, "Admin `{$username}` has unbanned user `{$un}`", $adminwebhookun);
406+
dashboard\primary\wh_log($adminwebhook, "Admin `{$username}` has unbanned user `{$un}`", $adminwebhookun);
407407

408408
dashboard\primary\success("Account Unbanned!");
409409
}
@@ -483,7 +483,7 @@
483483

484484
mysqli_query($link, "UPDATE `accounts` SET `email` = '$email',`role` = '$role', `expires` = NULLIF('$expires', ''), `twofactor` = '$totp' WHERE `username` = '$un'");
485485

486-
wh_log($adminwebhook, "Admin `{$username}` has updated user `{$un}` email to `{$email}`, role to `{$role}`, and 2FA status to `{$totp}`", $adminwebhookun);
486+
dashboard\primary\wh_log($adminwebhook, "Admin `{$username}` has updated user `{$un}` email to `{$email}`, role to `{$role}`, and 2FA status to `{$totp}`", $adminwebhookun);
487487

488488
dashboard\primary\success("Updated Account!");
489489
}
@@ -528,4 +528,4 @@ function banacc(un) {
528528
}
529529
</script>
530530
</body>
531-
</html>
531+
</html>

0 commit comments

Comments
 (0)