Merge branch 'first_implementation' of gitea.krombel.de:krombel/matrix-register-bot into first_implementation
This commit is contained in:
3
cron.php
3
cron.php
@@ -1,6 +1,4 @@
|
||||
<?php
|
||||
// This file is meant to do tasks that failed on the first attempt
|
||||
|
||||
require_once("config.php");
|
||||
require_once("mail_templates.php");
|
||||
require_once("database.php");
|
||||
@@ -13,7 +11,6 @@ $sql = "SELECT id, first_name, last_name, username, email, state, note, verify_t
|
||||
. " OR state = " . RegisterState::RegistrationDeclined
|
||||
. " OR state = " . RegisterState::AllDone . ";";
|
||||
foreach ($db->query($sql) as $row) {
|
||||
// will only be executed once
|
||||
$first_name = $row["first_name"];
|
||||
$last_name = $row["last_name"];
|
||||
$username = $row["username"];
|
||||
|
||||
Reference in New Issue
Block a user