1
0

debuggage

This commit is contained in:
Daniel Tartavel 2019-12-01 00:55:56 +01:00
parent 568c1e8a62
commit bbc61f7f0a

View File

@ -67,7 +67,7 @@ while ($user = $doldb->result->fetch_assoc())
$datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']); $datefin = DateTime::createFromFormat("Y-m-d H:i:s", $user['datefin']);
$interval = new DateInterval('P0000Y02M00D'); $interval = new DateInterval('P0000Y02M00D');
$datefin->add($interval); $datefin->add($interval);
if ( $datefin->getTimestamp() <= mktime() ) if ( $datefin->getTimestamp() <= time() )
{ {
echo "write_status( $insert, " . $user['login'] . ", 0 )"; echo "write_status( $insert, " . $user['login'] . ", 0 )";
}elseif ( $status == 0 ) }elseif ( $status == 0 )