[gnome-software/gnome-3-18] Don't parse result from ratings check as a timestamp - this seems to be a copy/paste error from exis



commit b84c2c3d1dcafa7f50b2591bedad0b869af902d5
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Nov 23 23:08:44 2015 +1300

    Don't parse result from ratings check as a timestamp - this seems to be a copy/paste error from existing 
code and is not required

 src/plugins/gs-plugin-fedora-tagger-ratings.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fedora-tagger-ratings.c b/src/plugins/gs-plugin-fedora-tagger-ratings.c
index 8906b4d..144bcca 100644
--- a/src/plugins/gs-plugin-fedora-tagger-ratings.c
+++ b/src/plugins/gs-plugin-fedora-tagger-ratings.c
@@ -477,7 +477,7 @@ gs_plugin_fedora_tagger_load_db (GsPlugin *plugin, GError **error)
        /* create ratings if required */
        rc = sqlite3_exec (plugin->priv->db,
                           "SELECT vote_count FROM ratings LIMIT 1",
-                          gs_plugin_fedora_tagger_timestamp_cb, &mtime,
+                          NULL, NULL,
                           &error_msg);
        if (rc != SQLITE_OK) {
                g_debug ("creating table to repair: %s", error_msg);


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