Commit 03459ff1 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Revert "added check for code 2303 when domain does not exist closes issue #6"

This reverts commit a80045ed.
parent 5b930a88
......@@ -107,10 +107,6 @@ try {
continue;
}
}
} else if($coderes == '2303') {
# Domain does not exist
$status = "Domain $domain does not exist, setting state to cancelled!";
$statusres = 'cancelled';
} else {
echo "Domain check on $domain not successful: "._cozaepp_message($coderes)." (File a bug report here: http://devlabs.linuxassist.net/projects/whmcs-coza-epp/issues/new)";
continue;
......@@ -179,15 +175,6 @@ try {
));
echo "Domain $domain is EXPIRED (Registration: $createdate, Expiry: $nextduedate)\n";
} elseif ($statusres == "cancelled") {
mysql_query(sprintf($querytemplate,"Cancelled",
mysql_real_escape_string($createdate),
mysql_real_escape_string($nextduedate),
mysql_real_escape_string($nextduedate),
mysql_real_escape_string($domain)
));
echo "Domain $domain does not exist\n";
} else {
echo "Domain $domain has unknown status '$statusres' (File a bug report here: http://devlabs.linuxassist.net/projects/whmcs-coza-epp/issues/new)\n";
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment