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



commit 76eca569dcda8830d2b4aefcc66c4949f44981ad
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 2d10ed6..9a35240 100644
--- a/src/plugins/gs-plugin-fedora-tagger-ratings.c
+++ b/src/plugins/gs-plugin-fedora-tagger-ratings.c
@@ -475,7 +475,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]