aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWagner Riffel <wgrriffel@gmail.com>2020-05-18 11:55:45 -0300
committerSimon Ser <contact@emersion.fr>2020-05-18 18:32:30 +0200
commit42c5a8198634bad143cb8ef95985295d3116da5d (patch)
tree7474efbeb03c6a3970db2cd967ffe1d751de2718
parent5fee600c6ef8d7467a394ef04dbf9aa681cb540b (diff)
downloadalps-42c5a8198634bad143cb8ef95985295d3116da5d.tar.gz
alps-42c5a8198634bad143cb8ef95985295d3116da5d.zip
plugins/caldav: remove statements not used
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
-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