diff --git a/wp-ffpc-class.php b/wp-ffpc-class.php index f1e00fc..d1c0bb2 100644 --- a/wp-ffpc-class.php +++ b/wp-ffpc-class.php @@ -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[] = "