aboutsummaryrefslogtreecommitdiff
path: root/plugins/caldav/routes.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/caldav/routes.go')
-rw-r--r--plugins/caldav/routes.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/plugins/caldav/routes.go b/plugins/caldav/routes.go
index 3e4fa71..020882e 100644
--- a/plugins/caldav/routes.go
+++ b/plugins/caldav/routes.go
@@ -111,11 +111,6 @@ func registerRoutes(p *alps.GoPlugin, u *url.URL) {
return err
}
- c, err := newClient(u, ctx.Session)
- if err != nil {
- return err
- }
-
c, calendar, err := getCalendar(u, ctx.Session)
if err != nil {
return err
@@ -161,11 +156,6 @@ func registerRoutes(p *alps.GoPlugin, u *url.URL) {
return err
}
- c, err := newClient(u, ctx.Session)
- if err != nil {
- return err
- }
-
c, calendar, err := getCalendar(u, ctx.Session)
if err != nil {
return err