Merge pull request #49080 from nextcloud/backport/48737/stable30

This commit is contained in:
Benjamin Gaussorgues 2024-11-05 11:06:45 +01:00 committed by GitHub
commit 6c9ee5cd9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,14 +52,14 @@ abstract class Base implements IProvider {
$data['name'] === CalDavBackend::PERSONAL_CALENDAR_NAME) {
return [
'type' => 'calendar',
'id' => $data['id'],
'id' => (string)$data['id'],
'name' => $l->t('Personal'),
];
}
return [
'type' => 'calendar',
'id' => $data['id'],
'id' => (string)$data['id'],
'name' => $data['name'],
];
}
@ -72,7 +72,7 @@ abstract class Base implements IProvider {
protected function generateLegacyCalendarParameter($id, $name) {
return [
'type' => 'calendar',
'id' => $id,
'id' => (string)$id,
'name' => $name,
];
}