From fb59b76f8199dd53234520027a1f867614b302f9 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Fri, 19 Apr 2024 19:58:49 +0100 Subject: [PATCH] aggregate-tally: Stop deleting old database path This (effectively) reverts commit a0130025eaf6dd8eb4ba1fc0e2b93722fe3c05fd. It's been more than 2 years. https://phabricator.endlessm.com/T35331 --- daemon/emer-aggregate-tally.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/daemon/emer-aggregate-tally.c b/daemon/emer-aggregate-tally.c index 14b9440..400ad6e 100644 --- a/daemon/emer-aggregate-tally.c +++ b/daemon/emer-aggregate-tally.c @@ -379,15 +379,6 @@ emer_aggregate_tally_initable_init (GInitable *initable, if (!self->read_only) ensure_folder_exists (self, self->persistent_cache_directory, NULL); - /* No daemon version that used this path made it into a production release, - * or even beta. So rather than migrating the data for the schema & filename - * change, just delete it (and ignore errors). - */ - old_path = g_build_filename (self->persistent_cache_directory, - "aggregate-events.db", - NULL); - emer_aggregate_tally_delete_db (self, old_path); - path = g_build_filename (self->persistent_cache_directory, "metrics.db", NULL);