openscholar/openscholar — pull request #2782 by sagotsky (2013-05-15 14:59:00+00:00)
Title: Prevent domain script from removing original domain #2779

#2779

This should fix the domain script so we can remove that domain from domains.list. But it's not something I can test locally, so use with caution.

--

Each of our acquia installations has an acquia-sites domain that cannot be removed. But that domain shouldn't be part of the domains.list because we don't want it in sites.php or .htaccess.

Since that domain is always the final item on the ac-domain-list, I popped it from the array before making the list of domains to remove from acquia's list.