[recipes] Remove debug code



commit 88fe5880d22abe84f338596d8ddc9673c1448782
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat May 27 11:56:09 2017 -0400

    Remove debug code
    
    This code snuck in when I landed the online data support.
    Unfortunately, it means that nobody was getting the online
    data so far :-(

 src/gr-recipe-store.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/gr-recipe-store.c b/src/gr-recipe-store.c
index 633e997..dc0b3d3 100644
--- a/src/gr-recipe-store.c
+++ b/src/gr-recipe-store.c
@@ -1182,7 +1182,6 @@ gr_recipe_store_init (GrRecipeStore *self)
         load_updates (self);
 
         /* First load preinstalled data */
-#if 0
         if (load_recipes (self, cache_dir, TRUE)) {
                 g_autofree char *locale = NULL;
 
@@ -1192,9 +1191,7 @@ gr_recipe_store_init (GrRecipeStore *self)
                 load_chefs (self, cache_dir, TRUE);
                 load_picks (self, cache_dir);
         }
-        else 
-#endif
-{
+        else {
                 load_recipes (self, data_dir, TRUE);
                 load_chefs (self, data_dir, TRUE);
                 load_picks (self, data_dir);


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