plugins/caldav: remove statements not used

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
This commit is contained in:
Wagner Riffel 2020-05-18 11:55:45 -03:00 committed by Simon Ser
parent 5fee600c6e
commit 42c5a81986
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -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