MCPcopy Create free account
hub / github.com/Rello/analytics / delete

Method delete

lib/Service/StorageService.php:177–181  ·  view source on GitHub ↗

* delete data * * @NoAdminRequired * @param int $datasetId * @param $dimension1 * @param $dimension2 * @param string|null $user_id * @return bool */

(int $datasetId, $dimension1, $dimension2, ?string $user_id = null)

Source from the content-addressed store, hash-verified

175 * @return bool
176 */
177 public function delete(int $datasetId, $dimension1, $dimension2, ?string $user_id = null) {
178 $result = $this->StorageMapper->delete($datasetId, $dimension1, $dimension2, $user_id);
179 $this->ReportService->increaseVersionByDataset($datasetId);
180 return $result;
181 }
182
183 /**
184 * Simulate delete data

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected