classes/Tools/Storage/StorageTool.php
private function deleteFile($file) {
		try {
			if($this->client && $this->client->enabled()) {
				$this->client->delete($file);
			}
		}
		catch(StorageException $ex) {
			Logger::error("Error deleting file '$file'.", ['exception' => $ex->getMessage(), 'Key' => $file]);
		}
	}
private function deleteFile($file) {
		try {
			if($this->client && $this->client->enabled()) {
				$this->client->delete($file);
			}
		}
		catch(StorageException $ex) {
			Logger::error("Error deleting file '$file'.", ['exception' => $ex->getMessage(), 'Key' => $file]);
		}
	}
private function deleteFile ( $ file ) { try { if ( $ this -> client && $ this -> client -> enabled ( ) ) { $ this -> client -> delete ( $ file ) ; } } catch ( StorageException $ ex ) { Logger :: error ( "Error deleting file '$file'." , [ 'exception' => $ ex -> getMessage ( ) , 'Key' => $ file ] ) ; } }
Deletes a file from storage

@param $file
Deletes a file from storage