[gnome-software/mwleeds/1317-follow-ups: 1/2] flatpak: Remove duplicate call to ensure silo




commit ac2482bf83897f39f2bc7954f761bb111fa8bc41
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Tue Apr 26 11:43:24 2022 -0700

    flatpak: Remove duplicate call to ensure silo
    
    This is unneeded because there's a call to
    gs_flatpak_rescan_appstream_store() already at the end of
    gs_flatpak_refresh_appstream().

 plugins/flatpak/gs-flatpak.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 94f4237c4..73934f5a0 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -1997,10 +1997,6 @@ gs_flatpak_refresh (GsFlatpak *self,
        if (!gs_flatpak_refresh_appstream (self, cache_age_secs, interactive, cancellable, error))
                return FALSE;
 
-       /* ensure valid */
-       if (!gs_flatpak_rescan_appstream_store (self, interactive, cancellable, error))
-               return FALSE;
-
        /* success */
        return TRUE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]