mirror of
https://github.com/DanWin/mail-hosting.git
synced 2025-08-20 22:34:22 +02:00
A few bugfixes
This commit is contained in:
parent
248c6f6e39
commit
32cbcc35cc
5 changed files with 33 additions and 17 deletions
4
cron.php
4
cron.php
|
@ -47,10 +47,10 @@ while ( $tmp = $stmt->fetch( PDO::FETCH_ASSOC ) ) {
|
|||
$delete_prosody_archive->execute( [ $tmp[ 'local_part' ], $tmp[ 'domain' ] ] );
|
||||
}
|
||||
}
|
||||
if ( $tmp[ 'active' ] === '-2' ) {
|
||||
if ( $tmp[ 'active' ] === -2 ) {
|
||||
$delete->execute( [ $tmp[ 'username' ] ] );
|
||||
}
|
||||
if ( $tmp[ 'active' ] === '-1' ) {
|
||||
if ( $tmp[ 'active' ] === -1 ) {
|
||||
$disable->execute( [ $tmp[ 'username' ] ] );
|
||||
}
|
||||
$delete_alias->execute( [ $tmp[ 'username' ] ] );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue