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

Method deleteUserData

lib/Service/UserService.php:42–49  ·  view source on GitHub ↗

* delete all user data * * @param $userId * @return bool * @throws Exception */

($userId)

Source from the content-addressed store, hash-verified

40 * @throws Exception
41 */
42 public function deleteUserData($userId) {
43 $this->logger->info('Deleting all Analytics data for: ' . $userId);
44 $this->ReportService->deleteByUser($userId);
45 $this->DatasetService->deleteByUser($userId);
46 $this->ShareService->deleteByUser($userId);
47 $this->PanoramaService->deleteByUser($userId);
48 return true;
49 }
50}

Callers 1

handleMethod · 0.80

Calls 2

infoMethod · 0.45
deleteByUserMethod · 0.45

Tested by

no test coverage detected