|
@@ -9,10 +9,6 @@ function regCheckDomainPossession($domain) {
|
|
userError("You don't own this domain.");
|
|
userError("You don't own this domain.");
|
|
}
|
|
}
|
|
|
|
|
|
-function regIsFree($domain) {
|
|
|
|
- return empty(query('select', 'registry', ['domain' => $domain], 'domain'));
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
function regDeleteDomain($domain) {
|
|
function regDeleteDomain($domain) {
|
|
// Delete domain from registry file
|
|
// Delete domain from registry file
|
|
$regFile = file_get_contents(CONF['reg']['registry_file']);
|
|
$regFile = file_get_contents(CONF['reg']['registry_file']);
|