Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-07-23 20:57:10 +0300
committerGitHub <noreply@github.com>2019-07-23 20:57:10 +0300
commit41f97411ac8ebfb58595a0e4746a7971393a84ce (patch)
tree592acd5df428e2b5a357badd68b25303b843856f /apps
parent4a66e955305dddeda421ca04655bdefbd5ca317f (diff)
parent77c09252d5333a3665ccd5bf058666d5a26ee3b7 (diff)
Merge pull request #16505 from nextcloud/enh/nitpicks-14954
Dont assign $options to $options and cleanup doc
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/CardDAV/AddressBookImpl.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/dav/lib/CardDAV/AddressBookImpl.php b/apps/dav/lib/CardDAV/AddressBookImpl.php
index 918b4eb2255..21455fc3863 100644
--- a/apps/dav/lib/CardDAV/AddressBookImpl.php
+++ b/apps/dav/lib/CardDAV/AddressBookImpl.php
@@ -107,12 +107,10 @@ class AddressBookImpl implements IAddressBook {
* ['id' => 0, 'FN' => 'Thomas Müller', 'EMAIL' => 'a@b.c', 'GEO' => '37.386013;-122.082932'],
* ['id' => 5, 'FN' => 'Thomas Tanghus', 'EMAIL' => ['d@e.f', 'g@h.i']]
* ]
- * @param array $options = array() 'escape_like_param' - to not escape wildcards _ and % - for future use. One should always have options!
- * @return array an array of contacts which are arrays of key-value-pairs
* @since 5.0.0
*/
public function search($pattern, $searchProperties, $options) {
- $results = $this->backend->search($this->getKey(), $pattern, $searchProperties, $options = $options);
+ $results = $this->backend->search($this->getKey(), $pattern, $searchProperties, $options);
$withTypes = \array_key_exists('types', $options) && $options['types'] === true;