Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2020-08-23 10:17:42 +0300
committerdartcafe <github@dartcafe.de>2020-08-23 10:17:42 +0300
commit8b28e6944fd7b6eef1164a477a592e925698329b (patch)
treeb900f766eba93c839e20ffb64dd97ba2ee91e2a7 /lib/Service
parentb9a33f5e4618fa8bb7579923373ab6e7a4f696ce (diff)
removed unused function
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/CalendarService.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/Service/CalendarService.php b/lib/Service/CalendarService.php
index 68f9c0f2..f16a3f7e 100644
--- a/lib/Service/CalendarService.php
+++ b/lib/Service/CalendarService.php
@@ -84,19 +84,4 @@ class CalendarService {
}
- /**
- * Get events from the user's calendar which are 2 hours before and 3 hours after the timestamp
- * @NoAdminRequired
- * @param DateTime $from
- * @return Array
- */
- public function getEventsAround($from) {
- $from = new DateTime($from);
- $to = new DateTime($from);
- return $this->getEvents(
- $from->sub(new DateInterval('P2H')),
- $to->add(new DateInterval('P3H'))
- );
- }
-
}