summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Command
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-11 20:10:14 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-11 20:10:14 +0200
commit8abb8206ceee179e474e80525c29b7f40585abe5 (patch)
treefef77c583a858506f8626db9af4f9e9f5082f1bd /lib/Travelynx/Command
parentb1348c7d4a4f8432859c36217d87b20fdc359cb2 (diff)
maintenance: delete webhooks and traewelling entries1.18.2
Diffstat (limited to 'lib/Travelynx/Command')
-rw-r--r--lib/Travelynx/Command/maintenance.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travelynx/Command/maintenance.pm b/lib/Travelynx/Command/maintenance.pm
index d9ce55a..2db9440 100644
--- a/lib/Travelynx/Command/maintenance.pm
+++ b/lib/Travelynx/Command/maintenance.pm
@@ -111,6 +111,8 @@ sub run {
my $stats_res = $db->delete( 'journey_stats', { user_id => $uid } );
my $journeys_res = $db->delete( 'journeys', { user_id => $uid } );
my $transit_res = $db->delete( 'in_transit', { user_id => $uid } );
+ my $hooks_res = $db->delete( 'webhooks', { user_id => $uid } );
+ my $trwl_res = $db->delete( 'traewelling', { user_id => $uid } );
# TODO + traewelling, webhooks
my $password_res