properly edit subdomains when deactivating domains
This commit is contained in:
parent
20061c6bf8
commit
53fd6a98cb
|
@ -130,7 +130,7 @@ foreach ($domains as $key => $domain) {
|
||||||
|
|
||||||
# 2.2 change the subdomain to redirect to http://spam.koumbit.org/
|
# 2.2 change the subdomain to redirect to http://spam.koumbit.org/
|
||||||
$dom->lock();
|
$dom->lock();
|
||||||
if (!$dom->set_sub_domain($domain, $sub, $dom->type_url, "edit", $redirect)) {
|
if (!$dom->set_sub_domain($domain, $sub, $dom->type_url, $redirect)) {
|
||||||
print "-- error in $sub.$domain: " . $err->errstr() . "\n";
|
print "-- error in $sub.$domain: " . $err->errstr() . "\n";
|
||||||
}
|
}
|
||||||
$dom->unlock();
|
$dom->unlock();
|
||||||
|
|
Loading…
Reference in New Issue