From b021c1d44333c251af29387c517171613fed6362 Mon Sep 17 00:00:00 2001 From: Radoslaw Jablonski Date: Tue, 4 Jan 2011 14:23:57 +0200 Subject: [PATCH] obexd: Remove unnecessary "?_key" variable in call history queries This "?_key" variable need to be filled only in pull phonebook queries(for sorting results). In call history queries it is unnecessary. --- obexd/plugins/phonebook-tracker.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c index eda5d3862..c052b43e5 100644 --- a/obexd/plugins/phonebook-tracker.c +++ b/obexd/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 { " \ -- 2.47.3