Commit 37e7c204 authored by anarcat's avatar anarcat

only cleanup host keys when saving a deleted site

parent 01736b71
......@@ -213,7 +213,9 @@ function hosting_ssl_nodeapi_site_update($node) {
else {
db_query("UPDATE {hosting_ssl_site} SET ssl_enabled=%d, ssl_key=%d WHERE vid=%d", $node->ssl_enabled, $node->ssl_key, $node->vid);
if ($node->site_status == HOSTING_SITE_DELETED) {
function hosting_ssl_nodeapi_site_load($node) {
Markdown is supported
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