From 2054563c649cf9302a82c46835f3e046f1b7928d Mon Sep 17 00:00:00 2001 From: jbousquie Date: Thu, 24 Nov 2016 13:57:23 +0100 Subject: [PATCH] appel GetURL() --- admin/bloque_salle.php | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/admin/bloque_salle.php b/admin/bloque_salle.php index 6007446..af5a22c 100644 --- a/admin/bloque_salle.php +++ b/admin/bloque_salle.php @@ -1,21 +1,9 @@ send(); - if (200 == $response->getStatus()) { - $body = $response->getBody(); - $reponse = json_decode($body); - } - } - catch (HTTP_Request2_Exception $ex) { - echo $$ex->getMessage(); - } - return $reponse; + GetURL($url); } $action = $_GET["a"];