[gnome-software/wip/hughsie/AsReview: 38/40] trivial: Don't send the minimum karma when getting reviews
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/hughsie/AsReview: 38/40] trivial: Don't send the minimum karma when getting reviews
- Date: Wed, 27 Jul 2016 10:19:37 +0000 (UTC)
commit 75de6be225478c64f74d2657f2c6fec7a0e0206c
Author: Richard Hughes <richard hughsie com>
Date: Wed Jul 27 10:46:51 2016 +0100
trivial: Don't send the minimum karma when getting reviews
src/plugins/gs-plugin-odrs.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/gs-plugin-odrs.c b/src/plugins/gs-plugin-odrs.c
index b782d9c..83141b8 100644
--- a/src/plugins/gs-plugin-odrs.c
+++ b/src/plugins/gs-plugin-odrs.c
@@ -484,7 +484,6 @@ gs_plugin_odrs_fetch_for_app (GsPlugin *plugin, GsApp *app, GError **error)
{
GsPluginData *priv = gs_plugin_get_data (plugin);
const gchar *version;
- gint karma_min;
guint status_code;
g_autofree gchar *cachefn_basename = NULL;
g_autofree gchar *cachefn = NULL;
@@ -537,10 +536,6 @@ gs_plugin_odrs_fetch_for_app (GsPlugin *plugin, GsApp *app, GError **error)
json_builder_add_string_value (builder, version);
json_builder_set_member_name (builder, "limit");
json_builder_add_int_value (builder, ODRS_REVIEW_NUMBER_RESULTS_MAX);
- json_builder_set_member_name (builder, "karma");
- karma_min = g_settings_get_int (priv->settings,
- "review-karma-required");
- json_builder_add_int_value (builder, karma_min);
json_builder_end_object (builder);
/* export as a string */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]