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

Method delete

lib/Service/StorageService.php:226–231  ·  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

224 * @return bool
225 */
226 public function delete(int $datasetId, $dimension1, $dimension2, ?string $user_id = null) {
227 $this->requireLegacy($datasetId);
228 $result = $this->StorageMapper->delete($datasetId, $dimension1, $dimension2, $user_id);
229 $this->ReportService->increaseVersionByDataset($datasetId);
230 return $result;
231 }
232
233 /**
234 * Simulate delete data

Callers

nothing calls this directly

Calls 2

requireLegacyMethod · 0.95

Tested by

no test coverage detected