protected function XcacheCache::doFlush

Deletes all cache entries.

Return value

boolean TRUE if the cache entry was successfully deleted, FALSE otherwise.

Overrides CacheProvider::doFlush

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Cache/XcacheCache.php, line 72

Class

XcacheCache
Xcache cache driver.

Namespace

Doctrine\Common\Cache

Code

protected function doFlush() {
  $this
    ->checkAuthorization();
  xcache_clear_cache(XC_TYPE_VAR, 0);
  return true;
}