smeserver-apache/root/etc/e-smith/db/domains/migrate/10DomainContent

8 lines
208 B
Plaintext

{
# Deprecate 'wwwpublic' special case, and migrate to i-bay 'Primary'
foreach my $domain ($DB->get_all_by_prop('Content' => 'wwwpublic'))
{
$domain->merge_props('Content' => 'Primary');
}
}