Skip to content

Commit

Permalink
Deprecated module check.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Ems committed Apr 20, 2013
1 parent 4a62d15 commit 89622fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/WordPressHTTPS.php
Expand Up @@ -318,6 +318,11 @@ public function install() {
foreach ( $blogs as $blog_id ) {
$this->setSetting('ssl_host_subdomain', $is_subdomain, $blog_id);
}

// Check for deprecated modules
if ( file_exists( $this->getModuleDirectory() . '/DomainMapping.php') ) {
@unlink($this->getModuleDirectory() . '/DomainMapping.php');
}
}

/**
Expand Down

0 comments on commit 89622fa

Please sign in to comment.