summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/CalDavBackend.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/CalDAV/CalDavBackend.php')
-rw-r--r--apps/dav/lib/CalDAV/CalDavBackend.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/apps/dav/lib/CalDAV/CalDavBackend.php b/apps/dav/lib/CalDAV/CalDavBackend.php
index c59a2dcd147..4a652b16054 100644
--- a/apps/dav/lib/CalDAV/CalDavBackend.php
+++ b/apps/dav/lib/CalDAV/CalDavBackend.php
@@ -1307,26 +1307,6 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
}
/**
- * This method validates if a filter (as passed to calendarSearch) matches
- * the given object.
- *
- * @param array $object
- * @param array $filters
- * @return bool
- */
- protected function validateFilterForCalendarSearch(array $object, array $filters) {
- $vObject = Reader::read($object['calendardata']);
-
- $validator = new Search\CalendarSearchValidator();
- $result = $validator->validate($vObject, $filters);
-
- // Destroy circular references so PHP will GC the object.
- $vObject->destroy();
-
- return $result;
- }
-
- /**
* Searches through all of a users calendars and calendar objects to find
* an object with a specific UID.
*