You are here

function Provision_Config_Http_Https_Site::unlink in Aegir HTTPS 7.3

Remove a stale certificate file from the server.

File

drush/Provision/Config/Http/Https/Site.php, line 76

Class

Provision_Config_Http_Https_Site
Base class for HTTPS enabled virtual hosts.

Code

function unlink() {
  parent::unlink();
  if ($this->https_enabled) {

    // TODO: Delete the certificate. Presumably this should look something like:
    // $this->server->service('Certificate')->delete_certificates($this->https_key);
  }
}