]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove unused variable
authorBjoern Schiessle <bjoern@schiessle.org>
Tue, 1 Nov 2016 19:11:30 +0000 (20:11 +0100)
committerBjoern Schiessle <bjoern@schiessle.org>
Tue, 1 Nov 2016 19:11:30 +0000 (20:11 +0100)
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
apps/files_sharing/lib/Controller/ShareesAPIController.php

index 8a9a59d88456d9a0b9f4d1e28b8751efb585d2e4..5e01c9bfb09a414fd9d5aecca3d25450a0b54b4b 100644 (file)
@@ -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)",