Ver código fonte

rename calendarobjects_properties -> calendarobjects_props

Signed-off-by: Georg Ehrke <developer@georgehrke.com>
tags/v12.0.0beta1
Georg Ehrke 7 anos atrás
pai
commit
0f8a9514de
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
apps/dav/appinfo/database.xml Ver arquivo

@@ -671,7 +671,7 @@ CREATE TABLE calendarobjects (
</table>

<table>
<name>*dbprefix*calendarobjects_properties</name>
<name>*dbprefix*calendarobjects_props</name>
<declaration>
<field>
<name>id</name>

+ 2
- 2
apps/dav/lib/CalDAV/CalDavBackend.php Ver arquivo

@@ -149,7 +149,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
private $legacyEndpoint;

/** @var string */
private $dbObjectPropertiesTable = 'calendarobjects_properties';
private $dbObjectPropertiesTable = 'calendarobjects_props';

/**
* CalDavBackend constructor.
@@ -1286,7 +1286,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
}

$query->select(['c.calendarid', 'c.uri'])
->from('calendarobjects_properties', 'i')
->from($this->dbObjectPropertiesTable, 'i')
->join('i', 'calendarobjects', 'c', $query->expr()->eq('i.objectid', 'c.id'))
->where($calExpr)
->andWhere($compExpr)

Carregando…
Cancelar
Salvar