Remove advanced-cache.php when the plugin is deactivated
This commit is contained in:
parent
9567a35e0b
commit
e693b4d43e
1 changed files with 3 additions and 1 deletions
|
@ -976,8 +976,10 @@ class WP_FFPC extends PluginAbstract {
|
||||||
private function deploy_advanced_cache( ) {
|
private function deploy_advanced_cache( ) {
|
||||||
|
|
||||||
/* if no active site left no need for 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;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/* add the required includes and generate the needed code */
|
/* add the required includes and generate the needed code */
|
||||||
$string[] = "<?php";
|
$string[] = "<?php";
|
||||||
|
|
Loading…
Reference in a new issue