Remove advanced-cache.php when the plugin is deactivated

This commit is contained in:
Hiroshi Shimoju 2015-02-03 13:52:35 +09:00
parent 9567a35e0b
commit e693b4d43e

View file

@ -976,8 +976,10 @@ class WP_FFPC extends PluginAbstract {
private function deploy_advanced_cache( ) {
/* if no active site left no need for advanced cache :( */
if ( empty ( $this->global_config ) )
if ( empty ( $this->global_config ) ) {
unlink ( $this->acache );
return false;
}
/* add the required includes and generate the needed code */
$string[] = "<?php";