summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-03-30 18:26:59 +0000
committerChristopher Ng <chrng8@gmail.com>2022-03-30 18:28:49 +0000
commitd3505a2ed0c9d258731cdec535f6c28885f7a7ca (patch)
treeda3db1cc6f273b045324413d60525b6cef0def4c /apps
parent1a34c7f2404411449380cb7d8af20a42a80b17ba (diff)
downloadnextcloud-server-d3505a2ed0c9d258731cdec535f6c28885f7a7ca.tar.gz
nextcloud-server-d3505a2ed0c9d258731cdec535f6c28885f7a7ca.zip
Access by array key instead of destructuring
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/UserMigration/ContactsMigrator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/UserMigration/ContactsMigrator.php b/apps/dav/lib/UserMigration/ContactsMigrator.php
index bc0504f0e20..50a2d5f465e 100644
--- a/apps/dav/lib/UserMigration/ContactsMigrator.php
+++ b/apps/dav/lib/UserMigration/ContactsMigrator.php
@@ -98,7 +98,7 @@ class ContactsMigrator implements IMigrator {
throw new InvalidAddressBookException();
}
- ['uri' => $uri] = $addressBookInfo;
+ $uri = $addressBookInfo['uri'];
$path = CardDAVPlugin::ADDRESSBOOK_ROOT . "/users/$userId/$uri";