public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Radoslaw Jablonski <ext-jablonski.radoslaw@nokia.com>
To: linux-bluetooth@vger.kernel.org
Cc: Radoslaw Jablonski <ext-jablonski.radoslaw@nokia.com>
Subject: [PATCH 2/2 v2] Remove unnecessary "?_key" variable in call history queries
Date: Tue,  4 Jan 2011 14:23:57 +0200	[thread overview]
Message-ID: <1294143837-19059-2-git-send-email-ext-jablonski.radoslaw@nokia.com> (raw)
In-Reply-To: <1294143837-19059-1-git-send-email-ext-jablonski.radoslaw@nokia.com>

This "?_key" variable need to be filled only in pull phonebook
queries(for sorting results). In call history queries it is
unnecessary.
---
 plugins/phonebook-tracker.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index eda5d38..c052b43 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -248,7 +248,6 @@
 	"?_contact a nco:PersonContact ; "				\
 	"nco:hasPhoneNumber ?_number . "				\
 	"OPTIONAL { ?_contact nco:hasAffiliation ?_role .} "		\
-	"?_contact nco:nameFamily ?_key ."				\
 "} UNION { "								\
 	"?_ncontact a nco:Contact . "					\
 	"?_ncontact nco:hasPhoneNumber ?_number . "			\
@@ -257,7 +256,6 @@
 	"nmo:isAnswered false ;"					\
 	"nmo:isSent false . "						\
 	"?_contact a nco:PersonContact . "				\
-	"?_contact nco:nameFamily ?_key . "				\
 	"?_contact nco:hasAffiliation ?_role . "			\
 	"?_role nco:hasPhoneNumber ?_number . "				\
 "} UNION { "								\
@@ -395,7 +393,6 @@
 	"?_contact a nco:PersonContact ; "				\
 	"nco:hasPhoneNumber ?_number . "				\
 	"OPTIONAL { ?_contact nco:hasAffiliation ?_role .} "		\
-	"?_contact nco:nameFamily ?_key ."				\
 "} UNION { "								\
 	"?_ncontact a nco:Contact . "					\
 	"?_ncontact nco:hasPhoneNumber ?_number . "			\
@@ -404,7 +401,6 @@
 	"nmo:isAnswered true ;"						\
 	"nmo:isSent false . "						\
 	"?_contact a nco:PersonContact . "				\
-	"?_contact nco:nameFamily ?_key . "				\
 	"?_contact nco:hasAffiliation ?_role . "			\
 	"?_role nco:hasPhoneNumber ?_number . "				\
 "} UNION { "								\
@@ -540,7 +536,6 @@
 	"?_contact a nco:PersonContact ; "				\
 	"nco:hasPhoneNumber ?_number . "				\
 	"OPTIONAL { ?_contact nco:hasAffiliation ?_role .} "		\
-	"?_contact nco:nameFamily ?_key ."				\
 "} UNION { "								\
 	"?_ncontact a nco:Contact . "					\
 	"?_ncontact nco:hasPhoneNumber ?_number . "			\
@@ -548,7 +543,6 @@
 	"nmo:to ?_ncontact ; "						\
 	"nmo:isSent true . "						\
 	"?_contact a nco:PersonContact . "				\
-	"?_contact nco:nameFamily ?_key . "				\
 	"?_contact nco:hasAffiliation ?_role . "			\
 	"?_role nco:hasPhoneNumber ?_number . "				\
 "} UNION { "								\
@@ -680,7 +674,6 @@
 	"?_contact a nco:PersonContact ; "				\
 	"nco:hasPhoneNumber ?_number . "				\
 	"OPTIONAL { ?_contact nco:hasAffiliation ?_role .} "		\
-	"?_contact nco:nameFamily ?_key ."				\
 "} UNION { "								\
 	"?_ncontact a nco:Contact . "					\
 	"?_ncontact nco:hasPhoneNumber ?_number . "			\
@@ -688,7 +681,6 @@
 	"nmo:to ?_ncontact ; "						\
 	"nmo:isSent true . "						\
 	"?_contact a nco:PersonContact . "				\
-	"?_contact nco:nameFamily ?_key . "				\
 	"?_contact nco:hasAffiliation ?_role . "			\
 	"?_role nco:hasPhoneNumber ?_number . "				\
 "} UNION { "								\
@@ -712,7 +704,6 @@
 	"?_contact a nco:PersonContact ; "				\
 	"nco:hasPhoneNumber ?_number . "				\
 	"OPTIONAL { ?_contact nco:hasAffiliation ?_role .} "		\
-	"?_contact nco:nameFamily ?_key ."				\
 "} UNION { "								\
 	"?_ncontact a nco:Contact . "					\
 	"?_ncontact nco:hasPhoneNumber ?_number . "			\
@@ -720,7 +711,6 @@
 	"nmo:from ?_ncontact ; "					\
 	"nmo:isSent false . "						\
 	"?_contact a nco:PersonContact . "				\
-	"?_contact nco:nameFamily ?_key . "				\
 	"?_contact nco:hasAffiliation ?_role . "			\
 	"?_role nco:hasPhoneNumber ?_number . "				\
 "} UNION { "								\
-- 
1.7.0.4


  reply	other threads:[~2011-01-04 12:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-04 12:23 [PATCH 1/2 v2] Fix for handling fax and cell phone numbers in PBAP Radoslaw Jablonski
2011-01-04 12:23 ` Radoslaw Jablonski [this message]
2011-01-04 12:54 ` Johan Hedberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294143837-19059-2-git-send-email-ext-jablonski.radoslaw@nokia.com \
    --to=ext-jablonski.radoslaw@nokia.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox