refactor(dav): remove unused CalDAVBackend method

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
pull/53070/head
Thomas Citharel 2025-05-23 09:27:42 +07:00 committed by Andy Scherzinger
parent f59db4c86a
commit 9252e2689b
1 changed files with 0 additions and 19 deletions

@ -1538,25 +1538,6 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
}, $this->db);
}
/**
* @param int $calendarObjectId
* @param int $classification
*/
public function setClassification($calendarObjectId, $classification) {
$this->cachedObjects = [];
if (!in_array($classification, [
self::CLASSIFICATION_PUBLIC, self::CLASSIFICATION_PRIVATE, self::CLASSIFICATION_CONFIDENTIAL
])) {
throw new \InvalidArgumentException();
}
$query = $this->db->getQueryBuilder();
$query->update('calendarobjects')
->set('classification', $query->createNamedParameter($classification))
->where($query->expr()->eq('id', $query->createNamedParameter($calendarObjectId)))
->executeStatement();
}
/**
* Deletes an existing calendar object.
*