[PATCH 2/2 v2] Remove unnecessary "?_key" variable in call history queries

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

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux