From 7cfc6a5ed6544d5c59fd93af98a8fd3d97f181fe Mon Sep 17 00:00:00 2001 From: Martin Cording Date: Wed, 13 May 2015 13:48:06 +0200 Subject: [PATCH 1/2] Allow fetching of pickup branches for anons. --- includes/openruth.reservation.inc | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/openruth.reservation.inc b/includes/openruth.reservation.inc index b9f33e0..fb3f0a1 100644 --- a/includes/openruth.reservation.inc +++ b/includes/openruth.reservation.inc @@ -14,9 +14,6 @@ * OpenRuth pickup branches. */ function openruth_reservation_pickup_branches($account) { - // Throw exception if we're not logged in. - ding_user_get_creds($account); - $branches = openruth_client_invoke('get_agencycounters'); return $branches; } From 19a2f49ef4f4c8d3eb762bdfb5b26927cafdedbc Mon Sep 17 00:00:00 2001 From: Martin Cording Date: Wed, 13 May 2015 14:59:43 +0200 Subject: [PATCH 2/2] Removed argument. --- includes/openruth.reservation.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/openruth.reservation.inc b/includes/openruth.reservation.inc index fb3f0a1..7a2a996 100644 --- a/includes/openruth.reservation.inc +++ b/includes/openruth.reservation.inc @@ -13,7 +13,7 @@ * @return array * OpenRuth pickup branches. */ -function openruth_reservation_pickup_branches($account) { +function openruth_reservation_pickup_branches() { $branches = openruth_client_invoke('get_agencycounters'); return $branches; }