You are here

public function AcquiaPurgeStateStorageDisk::wipe in Acquia Purge 7

Wipe all state data.

Overrides AcquiaPurgeStateStorageBase::wipe

File

lib/state/AcquiaPurgeStateStorageDisk.php, line 64
Contains AcquiaPurgeStateStorageDisk.

Class

AcquiaPurgeStateStorageDisk
File backed state storage.

Code

public function wipe() {
  parent::wipe();
  $this->raw = '';
  if (file_exists($this->uri)) {
    drupal_unlink($this->uri);
  }
}