summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-11-01 20:11:30 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2016-11-01 20:11:30 +0100
commit6e52091c8e344cf0ea83ab44f79c550f139bb6ac (patch)
treef1a95c50279b48c7609234152b0e8139061e2db0 /apps
parent32dbf32bc57af8bbd568aded4c88aeb7da2753b9 (diff)
downloadnextcloud-server-6e52091c8e344cf0ea83ab44f79c550f139bb6ac.tar.gz
nextcloud-server-6e52091c8e344cf0ea83ab44f79c550f139bb6ac.zip
remove unused variable
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/lib/Controller/ShareesAPIController.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php
index 8a9a59d8845..5e01c9bfb09 100644
--- a/apps/files_sharing/lib/Controller/ShareesAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php
@@ -568,7 +568,6 @@ class ShareesAPIController extends OCSController {
if (strtolower($contact['FN']) === strtolower($search) || strtolower($emailAddress) === strtolower($search)) {
if (strtolower($emailAddress) === strtolower($search)) {
$result['exactIdMatch'] = true;
- $foundEmailByAddress = true;
}
$result['exact'][] = [
'label' => $contact['FN'] . " ($emailAddress)",