SET banned = ?,
banExpires = ?
WHERE banned = ?
+ AND banExpires <> ?
AND banExpires <= ?";
$statement = WCF::getDB()->prepareStatement($sql);
$statement->execute(array(
0,
0,
1,
+ 0,
TIME_NOW
));
SET disableAvatar = ?,
disableAvatarExpires = ?
WHERE disableAvatar = ?
+ AND disableAvatarExpires <> ?
AND disableAvatarExpires <= ?";
$statement = WCF::getDB()->prepareStatement($sql);
$statement->execute(array(
0,
0,
1,
+ 0,
TIME_NOW
));
SET disableSignature = ?,
disableSignatureExpires = ?
WHERE disableSignature = ?
+ AND disableSignatureExpires <> ?
AND disableSignatureExpires <= ?";
$statement = WCF::getDB()->prepareStatement($sql);
$statement->execute(array(
0,
0,
1,
+ 0,
TIME_NOW
));
}