Add domain history to domain refresher

This commit is contained in:
wrongecho
2025-01-17 21:39:11 +00:00
parent 99c4f9b92d
commit ecd83b6b11
3 changed files with 63 additions and 24 deletions

View File

@@ -68,12 +68,6 @@ if (isset($_POST['edit_domain'])) {
require_once 'domain_model.php';
$domain_id = intval($_POST['domain_id']);
// if (empty($expire) || (new DateTime($expire)) < (new DateTime())) {
// // Update domain expiry date
// $expire = getDomainExpirationDate($name);
// }
// Set/check/lookup expiry date
if (strtotime($expire) && (new DateTime($expire)) > (new DateTime())) {
$expire = "'" . $expire . "'";