removed unneeded routes

This commit is contained in:
Michał 'rysiek' Woźniak 2014-02-10 19:17:42 +01:00
parent a2554c0fc1
commit 6b2d589364

View file

@ -1,30 +0,0 @@
<?php
// OCS API
//TODO: SET: mail notification, waiting for PR #4689 to be accepted
OC_API::register('get',
'/apps/calendar/api/v1/shares',
array('\OCA\Calendar\Share\Api', 'getAllShares'),
'calendar');
OC_API::register('post',
'/apps/calendar/api/v1/shares',
array('\OCA\Calendar\Share\Api', 'createShare'),
'calendar');
OC_API::register('get',
'/apps/calendar/api/v1/shares/{id}',
array('\OCA\Calendar\Share\Api', 'getShare'),
'calendar');
OC_API::register('put',
'/apps/calendar/api/v1/shares/{id}',
array('\OCA\Calendar\Share\Api', 'updateShare'),
'calendar');
OC_API::register('delete',
'/apps/calendar/api/v1/shares/{id}',
array('\OCA\Calendar\Share\Api', 'deleteShare'),
'calendar');