Skip to content

Commit 165154b

Browse files
ISSUE #1551: Only import activities that are affected by incoming webhooks
1 parent 28dee5b commit 165154b

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/Domain/Strava/Webhook/DbalWebhookEventRepository.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,4 @@ public function grab(): array
5656

5757
return $webhookEvents;
5858
}
59-
60-
public function guardThatTableExists(): void
61-
{
62-
$this->connection->executeQuery('SELECT 1 FROM WebhookEvent');
63-
}
6459
}

src/Domain/Strava/Webhook/WebhookEventRepository.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,4 @@ public function add(WebhookEvent $webhookEvent): void;
1212
* @return WebhookEvent[]
1313
*/
1414
public function grab(): array;
15-
16-
public function guardThatTableExists(): void;
1715
}

0 commit comments

Comments
 (0)