aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-07-22 18:48:47 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-07-22 18:48:47 +0200
commit77c09252d5333a3665ccd5bf058666d5a26ee3b7 (patch)
treea5c4e7fcd586d225731f3509105e8d8d0d65da2c /apps
parent3a6d8174a92734a3cc4be476163f4a98ca4d3f81 (diff)
downloadnextcloud-server-77c09252d5333a3665ccd5bf058666d5a26ee3b7.tar.gz
nextcloud-server-77c09252d5333a3665ccd5bf058666d5a26ee3b7.zip
Dont assign $options to $options and cleanup doc
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
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;