[PATCH 2/2 v2] Remove unnecessary "?_key" variable in call history queries
From: Radoslaw Jablonski <hidden>
Date: 2011-01-04 12:23:57
Subsystem:
the rest · Maintainer:
Linus Torvalds
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