updated plugin W3 Total Cache
version 2.6.1
This commit is contained in:
@ -92,11 +92,14 @@ class CacheFlush {
|
||||
}
|
||||
|
||||
/**
|
||||
* Purge CDN mirror cache
|
||||
* Purge CDN mirror cache.
|
||||
*
|
||||
* @param array $extras Extra configuration.
|
||||
*/
|
||||
function cdn_purge_all( $extras = array() ) {
|
||||
if ( $this->_config->get_boolean( 'cdn.enabled' ) )
|
||||
public function cdn_purge_all( $extras = array() ) {
|
||||
if ( $this->_config->get_boolean( 'cdn.enabled' ) || $this->_config->get_boolean( 'cdnfsd.enabled' ) ) {
|
||||
return $this->_executor->cdn_purge_all( $extras );
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user