Skip to content

Commit

Permalink
Merge pull request #770 from nlubisch/patch-1
Browse files Browse the repository at this point in the history
OCC-25: Fix for ws_session
  • Loading branch information
teiling88 committed Dec 18, 2019
2 parents 7571332 + 42b69aa commit 5c36b29
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions htdocs/src/OcLegacy/Admin/Gdpr/GdprHandler.php
Expand Up @@ -61,7 +61,6 @@ public function handle(\user $user, bool $execute = false): array
$this->deleteLogins($userId);
$this->deleteOkapiAuthorizations($userId);
$this->deleteWatches($userId);
$this->deleteWsSessions($userId);

$this->connection->commit();

Expand Down Expand Up @@ -399,11 +398,4 @@ private function deleteWatches(int $userId): void
'userId' => $userId,
]);
}

private function deleteWsSessions(int $userId): void
{
$this->connection->executeQuery('DELETE FROM ws_sessions WHERE user_id = :userId', [
'userId' => $userId,
]);
}
}

0 comments on commit 5c36b29

Please sign in to comment.